Completed Users page, with authorise and revoke api.
Merge remote-tracking branch 'ComOnGit/editProfile' into develop
Added tests for the new users api, and a new api for xauth login, using an access token and access token secret.
Fixed error in backend testing due to faulty url.
Merge branch 'editProfile' of https://github.com/nghiank/ComOn into develop

Conflicts:
	app/routes/users.js
	public/js/controllers/profile.js
move form validation to controller for easier unit-test
profile page redirect to index page if user not authenticated
user list page - redirect if not authenticated/not admin
minor changes
Merge branch 'develop' of https://github.com/nghiank/ComOn into editProfile

Conflicts:
	app/controllers/users.js
	app/routes/users.js
	public/js/controllers/users.js
added mocha test for change CODE name API
profile page - error msg only show after blur
added (codeName) display in user listing page
minor changes in indentation for jshint