KeysController#create action now validates keys
Added StrongParameters to ApiController
Simplified the KeysController by moving validation to the Key model
Patched up missing env_changed? method

env has been moved to releases, and so App no longer has a direct env
attribute.
Removed support for GET /apps?name

Use GET /apps/:name instead
gears_restart render a json message
Enforce app request parameters