fix($animate): use direct DOM comparison when checking for $rootElement

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