Updates package.json, adds gitignore and adds karma file