Karma test setup + some first unit tests

This pull request is for task #7.

As of now it contains

- setup for running unit tests with Karma, Grunt and Jasmine
- necessary configuration for running the tests automatically with Travis-CI (final configuration has to be done by the repository owner).

See the referenced issue for what's still missing.