Detect correct transitionend event name

Improves support for slightly older Opera, FF, and Webkit browsers
Actually use the detected event name
Merge pull request #29 from leereamsnyder/transitionend-names

Detect prefixed transitionend event names