WICKET-5492 WebApplication ignores a SecurityException when reading the configuration type

(cherry picked from commit e5086fa35798649fe15b77ed12f6dc09ecb9ed75)
WICKET-5491 Wicket.DateTime.getViewportHeight() returning undefined on IE8, positions calendar out of viewport