Feature karma mocha

Client side tests are not executed as Mocha is now the only test suite.
Server side tests are run and rewritten.

Mocha\Sinon\Rewire used to test node modules.