some steps to confirm email
Merge branch 'master' into confirmemail

Conflicts:
	routes/api.js
Send out a confirmation email for new registrations
Don't add user email until it's confirmed
confirm email works
Disable API until user registration is confirmed
Show confirmation instructions on registration
Handle errors better when registering
Handle thrown errors in createUser
Leave out password when dumping mailopts
Don't debug email
Move email utils to their own test lib