Add prefixed transitionend event names

+ Detect the correct name of the transitionend event
+ Improves support for slightly outdated versions of Firefox, Opera,
and especially Webkit