API: setting namespace of repos should be possible

Created by: pboehm

The API should be extended, so that you can set the right namespace if you create a new repo. I would suggest to introduce a field called in_global_namespace which is by default false. Only Admins should be able to create repos in the global namespace.