Reshaping so we can get proper access control
Adapted code for API v2 standards and 1.5

Style changes

Removed Gemfile

Redefined old routes
Merge pull request #3 from eLobato/getting_access

Adapted code for API v2 standards and 1.5

* Fixed also permission probems with non-admin users
Merge pull request #4 from david-caro/getting_access

Adapted code for API v2 standards and 1.5