Implemented login through Google accounts.

I used https://github.com/facebook/tornado/blob/branch2.0/demos/chat/chatdemo.py.