Refactor test app requirements, fix PEP8 issues in test app.
Upgrade Travis CI configuration, fix PEP8 issue in Flask-And-Redis ext.