Contributions to a noncommutative real algebraic geometry : doctoral thesis