Goldman Sachs has hired the former head of the European Commission José Manuel Barroso.