Fix #401 Database upgrade failed when starting freeseer

Closes #417
Signed-off-by: Thanh Ha <thanh.ha@alumni.carleton.ca>
Fix #424 auto_hide now defaults to False
Added base flake8 config
Removed old pep8 unittests
Added flake8 to travis config
Moved flake8 to the end of the test scripts so you can see output
Fixed pep8 violations in setup.py
Weird settings import
Removed unused imports from tests
Removed unusued variable names from database.py
Removed unused imports and fixed syntax errors in plugins
Removed unused imports from the reporteditor frontend
Fixed PEP8 violations in the recording frontend
Removed unused imports and variables from the talkeditor frontend
Removed unused imports from qtcommon
Fixed PEP8 violations in most of the configtool frontend
Removed remaining unused import from configtool frontend
Silenced some QT stuff because it's weird and makes no sense
Removed unnecessary assignments from ConfigToolWidget