fix($animate): ensure ms durations are properly rounded

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