Fix tox flake8 command
Only tox on py27 and flake8 envs
Support for document types
Test that document dashboard is updated on POST, PUT and DELETE
Merge branch 'tests'