chore(ngdocs): ensure $animate is not shared between the docs and the example applications
fix(ngAnimate): cut down on extra $timeout calls
chore($rootScope): provide support to execute a function after the digest cycle is complete
fix(ngAnimate): ensure that ngClass is always compiled before enter, leave and move animations

Closes #3727
Closes #3603