relations: adds injector support
adds linter config files to src/ and test/
gruntfile: reenables build time testing
refactors server communication internals

* All comm methods use the same codebase (send)
* Comm methods no longer support callbacks at arguments
* $then is added to provide callback chainning without using promises
* Adds collectionTest with fetch test
* Fixes a bunch of linter errors