set up karma and associated packages such as phantomJS and jasmine. Modified gitignore to include node_modules folder containing npm installed dependencies that would be used for testing