Add node_modules to gitignore
Add karma dependencies to package.json
Add newline to end of karma.conf.js
Add semicolons and spaces to .spec
Fix socketFactory so it will work in tests