Modify(package.json): add karma-phantomjs-launcher to devDependencies.
Modify(karma-unit.tpl.js): use the phantomjs-launcher instead of firefox-launcher.
Add(RegistrationDetailsDTO).
Modify(register.js): change http post address to '/registration'.
Modify(SitebricksConfiguration): change UserRegistrationService address to '/registration'.
Modify(UserRegistrationService): use RegistrationDetailsDTO instead of UserDTO.
Modify(bower.json): switch angular version to 1.3; add dev dependency 'angular-messages'.
Modify(build.config.js): add angular-messages.js to vendor_files list.
Modify(userForm.js): use compile function in directive 'validatedFormField'; add directive 'usernameValidation'.
Modify(userform.tpl.html): apply directive validatedFormField on input element.
Modify(userForm.js): add 'ngMessages' to module dependencies; add required and length validators to directive 'usernameValidation'.
Modify(userform.tpl.html): add ng-messages to 'testField' form-group.
Fix(build.config.js): fix path to angular-messages.js