Added karma integration, code coverage and updated README.