Added more requirements to meet flask login/openid

The following requirements were added to support flask
login with openid
+ Flask Login
+ Flask WTF
+ Flask OpenID
Added preliminary code for flask login

__init__ module:
+ Import LoginManager
+ variable lm now available. Instance of LoginManager
Added methods to user model to support login ext

The following methods have been added to the User model
required by the Flask Login Extension
+ is_authenticated
+ is_active
+ is_anonymous
+ get_id
Added a login forms

Created a LoginForm class containing a TextField for openid
Added login view, required imports and methods

The following changes were made to support login
+ Added necessary imports
+ Global variable 'g' now accessible
+ Added views '/login', '/logout'
+ methods to support the login process
	(user_loader, before_request)
Added login template

+ extends "base.html"
+ has a form, 1 field for openid, 1 submit button