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 - responder updated

- new method respond_for_status
- fixed rendering of custom actions
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.
Fixed respond_with_template_resource calls
Roles controller to V2
api v2 - repositories controller
Support for :resource => false to skip resource autodiscovery
RolesLdapGroups controller to V2
Added missing end
api v2 - content_views and definitions controller