make sure application is only loaded once during nosetests
Correct styling
export PGUSER in pre-hook
Merge pull request #164 from geoadmin/dev_correct_tests

Correct tests during pre-hook