Log the exception stack trace for better diagnostics.

Java 7 improvements
Use JavaScript event names without the 'on' prefix to avoid the warning from Wicket's AjaxEventBehavior
Remove HeaderContributorProvider because it is not used.

Remove explicit declaration of "implements IHeaderContributor". All Wicket components implements it since Wicket 1.5