Add animationEnd option for transition service

So people can use keyframes for their animations, which trigger the animationEnd event instead of transitionEnd event.