Updates and Tests

- Add jshint for semicolon and white space checks
- Clean up some of the white space issues and semicolons
- Separate out the attachToUser function
- Refactor default values assignment to lodash defaults method
- Export default values for others to inspect (or for unit tests)
- Add new defineUser method that creates the UserSchema and calls attach
- Add some very basic unit tests around register and authenticate
- Refactor register to take a string as first arg or object (for custom fields)