Update Restangular definition

Add enhanced promises
Add new methods up to current 1.4
Rewrite tests to make them more realistic
Merge pull request #2112 from Keats/restangular

Update Restangular definition