Lower case user email field

Lower case the user email field in when passport queries to find a user
during login. Also lowercase the email on user creations. Fix #177
fix(server): grunt test was incorrectly using dev config, fixes #179
Merge branch 'pr/178'