Allow each context to be configured via an injector too.
Allow injected context configuration to make integration tests configurable.
Allow injected context configuration to make integration tests configurable.
Cleaning up code:
- Separate code lifted from apache tomcat into its own class to make license handling easier.
- Split the monolithic and static maim method into a bunch of factories, so that we can customize the server downstream.
Changed the packaging to publish both a normal jar for reuse in other projects and a no-deps jar for standalone use.
The recent changes fully deviate from the original code, so lets do it right: Changed group id to rs-infrastructure, so
that the builds dont get mixed up.