Noncommutative rational invariants : PhD thesis