tests: externalize jetty initialization

- Use rule to start / stop server
- Externalize jetty implementation