Client refactoring

- Implemented suggestions from AngularJS Style Guide by John Papa. See https://github.com/johnpapa/angularjs-styleguide.
- Fixed issue with pagination buttons not showing up with panelTableService.
- Renamed 'model object' to 'domain entity'.
Client: fix for annotation type panels.

Table in panel now shows sort icons.
Using toastr for notifications instead of ui-router data.
Client: specimen link types modal now displays the annotation types it uses.
Client: more code cleanup.
client: added comments
client: changed password for default user.
client fixes

- collection event type pane now displays annotation types.

- fix for collection event annotation type pane. The add button now works correctly.
client fixes

- collection event annotation type pane now does not allow an annotation type to be changed if it is in use.
Server: working on getting specimen groups that are in use.
Server side changes.

- Cleaned up use fold on Options that return validations.
- Study service now checks that the study ID in many of the read side functions.
- Added test for routes that have optional parameters.
Merge branch 'nelson-dev'

Conflicts:
	app/assets/javascripts/admin/centres/CentreEditCtrl.js
	app/assets/javascripts/admin/index.js
	app/assets/javascripts/admin/module.js
	app/assets/javascripts/admin/studies/StudyEditCtrl.js
	app/assets/javascripts/admin/studies/annotationTypes/CeventAnnotTypesPanelCtrl.js
	app/assets/javascripts/admin/studies/annotationTypes/ParticipantsAnnotTypesPanelCtrl.js
	app/assets/javascripts/admin/studies/annotationTypes/SpcLinkAnnotTypesPanelCtrl.js
	app/assets/javascripts/admin/studies/annotationTypes/annotTypeModalService.js
	app/assets/javascripts/admin/studies/annotationTypes/annotTypesPanel.html
	app/assets/javascripts/admin/studies/annotationTypes/annotationTypeRemoveService.js
	app/assets/javascripts/admin/studies/annotationTypes/ceventAnnotTypesPanelDirective.js
	app/assets/javascripts/admin/studies/ceventTypes/CeventTypeEditCtrl.js
	app/assets/javascripts/admin/studies/ceventTypes/CeventTypesPanelCtrl.js
	app/assets/javascripts/admin/studies/ceventTypes/ceventTypeModalService.js
	app/assets/javascripts/admin/studies/ceventTypes/ceventTypeRemoveService.js
	app/assets/javascripts/admin/studies/modelObjModal.html
	app/assets/javascripts/admin/studies/processing/ProcessingTypeEditCtrl.js
	app/assets/javascripts/admin/studies/processing/ProcessingTypesPanelCtrl.js
	app/assets/javascripts/admin/studies/processing/SpcLinkTypeEditCtrl.js
	app/assets/javascripts/admin/studies/processing/SpcLinkTypesPanelCtrl.js
	app/assets/javascripts/admin/studies/processing/processingTypeModalService.js
	app/assets/javascripts/admin/studies/processing/processingTypeRemoveService.js
	app/assets/javascripts/admin/studies/processing/spcLinkTypeModalService.js
	app/assets/javascripts/admin/studies/processing/spcLinkTypeRemoveService.js
	app/assets/javascripts/admin/studies/specimenGroups/SpecimenGroupEditCtrl.js
	app/assets/javascripts/admin/studies/specimenGroups/SpecimenGroupsPanelCtrl.js
	app/assets/javascripts/admin/studies/specimenGroups/specimenGroupModalService.js
	app/assets/javascripts/admin/studies/specimenGroups/specimenGroupRemoveService.js
	app/assets/javascripts/admin/studies/studyCollectionTab.html
	app/assets/javascripts/admin/users/helpers.js
	app/assets/javascripts/app.js
	app/assets/javascripts/common/main.js
	app/assets/javascripts/common/services/addTimeStampsService.js
	app/assets/javascripts/common/services/domainEntityModal.html
	app/assets/javascripts/common/services/modelObjModal.html
	app/assets/javascripts/common/services/panelService.js
	app/assets/javascripts/common/services/stateHelperService.js
	app/assets/javascripts/main.js
	app/assets/javascripts/studies/ProcessingTypeService.js
	app/assets/javascripts/studies/StudyAnnotTypeService.js
	app/assets/javascripts/studies/StudyService.js
	app/assets/javascripts/users/LoginCtrl.js
	app/assets/javascripts/users/RegisterUserCtrl.js
	app/assets/javascripts/users/UserUpdateCtrl.js
	app/assets/javascripts/users/module.js
	app/assets/javascripts/users/registerUserForm.html
	app/assets/javascripts/users/states.js
	app/assets/javascripts/users/userService.js
	build.sbt