fix npm install and travis build by setting karma version

Set specific karma version in travis build and readme instructions to deal with dependency issues.