catalog: code clean up and some API sanity changes
catalog: Minnor changes
Merge branch 'feature/catalog' of https://github.com/opencb/opencga into feature/catalog