Removing unused dependencies.
Reorganises project layout a bit to separate a release and a debug build, and run
the tests accordingly.
We now have three karma targets, 'release', 'debug' and 'server'.
Includes proper commenting.