test: fix dev dependencies and tests

Fix up dev dependencies. `npm install` works now without peer conflicts.
Tests pass on Karma ~0.12
Merge pull request #13 from nicks/nick-karma12

fix: update dev dependencies to work with karma .12