temp
Returning json in REST API. Added logged-in check.
change profile.html by using a resource service instead of direct using api
Merge branch 'editProfile' of https://github.com/nghiank/ComOn into editProfile
Add localisation support
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
changed localisation translation data into a separate json file.
put locale translation data into a separate json file 'en.json'
minor changes on auto-updating the profile page when user list changes
add angular-translate into karma config
Editted for code review. Localization of strings in profile page, remove redundant code lines.
test case update