Implement some data validation in user model.
Fix bug in user model spec not properly testing taken email addresses.