Added authorisation for mobile devices/desktops and tests.
Fixed Lint Errors.
Added test for Authorization API.
Fixed Header.html missing error.
Added error handler, authorisation check for mobile clients, changed api URLS to api/, added test for mobile authorisation.
Added 401 Interceptor and fixed lint errors.
Added check for makeAdmin API.
Fixing Pull Request Issues 1-5,7,8
Added interceptor for 400 errors.
Fixed errors in backend testing.
Merge pull request #3 from nghiank/AutorizationForMobile

Authorization for mobile
Fixed jslint errors and faulty test case.
Fix for jslint errors.
fix jslint errors
Merge branch 'develop' into editProfile

Conflicts:
	app/controllers/users.js
	app/routes/users.js
	public/js/config.js
	public/js/services/users.js
	public/views/profile.html
	test/mocha/RestAPI/backend.js
Karma config changes