Rspec for Department model
Upgraded the rspec to work with the latest version.
- removed require 'spec_helper'
- instead added require 'rails_helper'
- added rails_helper.rb

Removed admin roles and link_types controller
removed registration API controller
Cleaned up Routes
Implemented Authentication and MyProfile API with test cases
Merge branch 'master' into QAUTH-1-3-10-11-20-26-27

Conflicts:
	Gemfile.lock
	spec/factories/departments.rb
Merge branch 'master' into q-auth_16
Spec is Now Green - 

Removed unnecessary tests
migrated tests from using spec_helper to rails_helper
Removed duplicate password validation issues
Fixed all issues.
Merge pull request #25 from kpvarma/master

QAUTH-1, 3, 10, 11, 20, 26, 27
updated test cases
removed duplicat factory and spec file
Hot Fix - Side Bar was throwing error. Fixed it
Also removed some unnecessary files.
Merge pull request #26 from kpvarma/master

Hot Fix - Side Bar Link Fix
Added auth_token to the redirect url after authentication
Merge pull request #27 from kpvarma/master

Added auth_token to the redirect url after authentication
Q-Auth2 cropping image
removed debugger
Refactored user  model spec
Updated department factory
capistrano deployment script
removed unwanted codes
Merge branch 'master' into QAUTH-15
Refactored user model spec