fix($animate): ensure class-based animations are always skipped before structural post-digest tasks are run

Closes #5582
fix($httpBackend): don't delete xhr.onreadystatechange otherwise Safari :-O
Merge branch 'master' of https://github.com/angular/angular.js