Update Restangular definition

Add enhanced promises (changes from https://github.com/borisyankov/DefinitelyTyped/pull/2101)
Add new methods up to current 1.4
Rewrite tests to make them more realistic