Feature restangular

I have converted all Services using ngResource to Restangular.
Where necessary I have moved the promise success and error functions into the then method.
In some cases I needed to create a then function, because unlike ngResource Restangular only returns a promise instead of the whole object, where the result is the being put into.

This PR solves Issue #335