(restangular) Implement enhanced promises

Restangular decorates its promises with some extra methods, but the
definitions are currently using the plain AngularJS promise interface.