Add support for JSP / Servlet integration

This time the pull should be ok. :-)
resolveClass returns a Class<Object> and not Class<C> where C extends Page - I cant cast it here.