perf($animate): access DOM less in resolveElementClasses

Previously we were reading DOM attributes frequently, now we can do it just once.
chore(AngularPublic): remove `$$hasClass` from angular exports

It was previously used for ngAnimate, but is no longer needed