Fixing issues found with running 'autotest-js' locally

I have been off and on with @PVince81 for a few days trying to figure out why I couldn't run 'autotest-js' locally to add and fix testing errors in another branch. I resorted to creating an issue in karma for help in https://github.com/karma-runner/karma/issues/933 . The newest version of karma allowed us to see a better error message and it turns out the packages required for phantomjs were missing. So that is what my additions in "package.json" are. With these changes, I was able to run 'autotest-js' on a clean installation in Ubuntu 12.04 without any issues.
The additions to gitignore are files and directories that nodejs/npm created during the execution of 'autotest-js'.