Extract API response behavior to a controller mixin
Separate API behavior into its own model
Make the base url mechanism relative to the Rails root
Remove global references to $requested_api_version
Do not use a global variable to initialize a RestReply - use a controller helper method.
Move the API document handler to its own controller
Ensure lib directory is in the autoload path, do not require rubygems when developing from source
Move authentication logic to a new controller mixin
All controllers should inherit the standard filters, except where they are bypassed
Remove legacy login() method on authservice
Merge branch 'improve_action_logging' into isolate_api_behavior_from_base_controller

Conflicts:
	controller/app/controllers/base_controller.rb
Merge branch 'improve_action_logging' into isolate_api_behavior_from_base_controller

Conflicts:
	controller/app/controllers/base_controller.rb
Merge pull request #1289 from smarterclayton/isolate_api_behavior_from_base_controller

Merged by openshift-bot