changed how animationEnd events are fired, to support calling stop() in the handler. Added "next" param to animationEnd.

Signed-off-by: Grant Skinner <info@gskinner.com>