api - controller and routing tests moved to subdirectory v1
api v2 - helper method for creating nested resources
api v2 - initial refactoring of env controller
api v2 - org controller
Post-rebase changes

- lib modules moved to app/lib
- align branch code with upstream refactorings
api v2 - org controller fix
api v2 - providers controller
api v2 - products controller
api v2 - users controller
api v2 - activation keys controller
api v2 - fix in locale module
api v2 - providers controller fix

- added missing rabl for listing products
api - v1 made default
rabl - utility for rendering hashes

Monkey patched into Rabl::Engine.
Roles controller to V2
api v2 - repositories controller
RolesLdapGroups controller to V2
api v2 - content_views and definitions controller
routing tests class name fix
rabl - new method render_for_async