Add shell script to run the tests

It starts and stops the server as well as cleaning the database, so it
is also suitable to run on your dev machine.