Add username to user

A user can now login with a username or email.

@houndci 
Use the new Ruby 1.9 hash syntax.