Fix failing build and update to use Karma

Except for the changes to README.md, these changes fix the failing build (and a few other changes that are not directly related to fixing the build like adding a coverage report, etc)  

Please feel free to keep what you like and discard the rest.