Removed temp variables
Root routes for gears, domains and drains

Routes for apps/:app_id/{gears,drains,domains} has been preserved

The following routes have changed behaviour
DELETE /apps/:app_id/gears
DELETE /apps/:app_id/gears/:id

These routes will no longer restart a gear, use:
POST /apps/:app_id/gears/restart
POST /apps/:app_id/gears/:id/restart
Added Domain Model

This replaces the Array<String> domains for App
Cosmetic changes to code

Spacing! Jamming everything unto the class/end looks fugly.
GearsController was missing before_action for :update and :restart

Root GearsController was missing restart and restart_all actions