added code to restart jetty when testing on Travis CI