Added an activate callback event

Added an 'activate' option which can be used to pass a callback
function. The current tab element and the event are passed to the
callback function.
Added new option to the README and demo HTML file