Add support for JSP / Servlet integration

This time the pull should be ok. :-)
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/core/util/lang/WicketObjects.java#L64
You can cast it to whatever you want. I don't see a problem.