improvement: added mockup tests for restangular

add mockups to this project:
* use karma tests
* integrate restangular which is needed for querying rest APIs
* mockup some restangular objects for nodes and node
* coffee'ify