fix(ngAnimate): ensure that ngClass is always compiled before enter, leave and move animations

Closes #3727
Closes #3603