Improve limitTo filter handling of non-integer limit values

Improve handling of non-integer limit values in limitTo filter, and simplify implementation. 

See https://github.com/angular/angular.js/issues/3560