Updates for nereid 3.0.4.0

* Uses current_user and current_user.is_anonymous()
* Uses the login signal from flask-login
Merge pull request #24 from sharoonthomas/develop

Updates for nereid 3.0.4.0