Wicket 6 compatibility

I've upgraded the POM to Wicket and WiQuery versions 6.6.0, and adapted the code to make it compatible, and after that removed all compiler warnings. After testing it with an application I found out the plot was executed before the document was loaded, so I bound the plot code to document.ready(), changeable by subclasses (to support JQuery Mobile, for instance).