Enable localisation of flash messages
Since Flask upgraded to 0.10, it's no longer possible to use
`lazy_gettext` to set `LoginManager.login_message`.

Add an optional `localization_function` argument/attribute to be called
with flash messages if the method is present.
Merge branch 'master' of github.com:deanishe/flask-login