Bottle: only start if file is run as __main__

So that we can import it in testing, without
starting the server.