fix($animator): avoid completing the animation asynchronously unless CSS transtiions/animations are present

Closes #4023
Closes #3940
Merge branch 'master' of https://github.com/angular/angular.js
componentizd!