Use karma for running unit tests.
Add configuration for TravisCI.