Inherits from Api application controller and moved before filters there
Refactored schema switching into its own method and moved some stuff to the API application controller
added API namespaced application controller
moved api related methods into the Api::V1::ApplicationController
moved select_tentant! to main application controller so that devise can inherit form it
API controllers inherit for namespaced application controller
tenant switched on school from session for web and header for api
Tenant selection refactored to handle both api and web application
Testing server rake file
Merge pull request #49 from apollo-soft/auth-token-bug

Auth token bug fix