Use Flask-Login for login support

Closes #145
Support for XHR login
Add request argument for RequestContext

See: mitsuhiko/flask@097353695e3178a38403b204ae4889c8a32bf997
Add OPTIONS implicitly like flask does
Merge pull request #146 from sharoonthomas/flask-login

Use Flask-Login for login support