Fixes bug 946903 adds ability to specify unlogged tables
* Added --unlogged to setupdb_app.py
* changed 'make test-socorro' to use --unlogged
PEP8 fixes
Fix error in PEP8 refactoring