Fixed problems relating to using Google IDs.
Added API endpoint for Google IDs.
Fixes to database queries.
Merge pull request #20 from knotsoftware/passport-fixes

Passport fixes
Email notification setup.