Jersey and JDK upgrade

* Bump jersey version to 2.8
* Extract Jersey-only Application class for reuse in other containers
* Shift JDK support: drop 1.6, enter 1.8