Allow sql queries to end with a semicolon. Closes #90
Fix test using wrong hostname (thus connecting to wrong db)
Fix exit code from test runner

Before this commit it would return success or failure only based
on whether cleanup was successful or bogus
Really fix the tests for unauthorized attempts to write db

It was not about specifying the db trough headers but rather
about referencing the _wrong_ database via params. Also fixes
the expected result (which was indeed wrong).
Report testsuite tweaks