Added named queries for retrieval by username and email for User entity
Created UserDTO class as intermediate object for registration
Modified UserService to support registration, checking for username and email existence
Created UserValidator to validate the UserDTO at registration
Merge remote-tracking branch 'origin/master'