fix($animate): skip ngAnimate animations if the provided element already has transitions/durations attached to it

Closes #3587