Add username and email tests...

...for presence, uniqueness, length and format. Also add and index on
the email column of users table because it will be searched at lot when
people login.