Support for callbacks on jqplot events

I needed the jqplot events described [here](http://www.jqplot.com/docs/files/plugins/jqplot-pieRenderer-js.html) so I made these changes. I don't know how to test this more thoroughly...

Hope this is useful for somebody else as well.