Move non-Jetty classes to generic runtime.

Move some classes to more generic lib, so it can be used by other impls; e.g. WildFly.
Also added some iterable method to SessionStore; needed by Undertow.