Split test settings

Workflow would be:
* mv settings/local.py.dist settings/local.py
* vim settings/local.py
* hack, hack, add DB settings, etc hack, hack... ^wq

I've PEP-8'ed some lines, as well.