A transitionEnd event only finishes a zoom animation if it is for a transform

We get opacity transitionEnd events for fading tiles in, these can prematurely end a zoom animation which will then leave us at a non-integer zoom. Fixes #2255

Using indexOf as it can be 'transform' or '-webkit-transform' (and probably more)