Cleaning.
Make sure the password is actually set before trying to hash it (fixes #67)
Add the extra password check to beforeCreate as well
Merge pull request #69 from Bazze/feature/fix-password-null-issue

Make sure the password is actually set before trying to hash it (fixes #67)
Merge remote-tracking branch 'upstream/master'

Conflicts:
	templates/api/controllers/AuthController.js
	templates/api/services/passport.js