Add abort method to $http promise.

This is an attempt at resolving issue #1159. Let me know what you think.