Adds plugin to flake8 to make sure flask.session is not abused.

For issue #285