chore(restangular): cleanup lines with only whitespace

there were lots of lines in restangular that only contained whitespace.
Remove with g/^\s*$/d
chore(restangular): remove trailing whitespace

a number of lines had trailing whitespace. Remove with %s%\s$%g
Merge pull request #344 from philips/remove-whitespace

chore: cleanup whitespace