added missing ignores for files and directories created by "autotest-js"
added missing packages required to run "karma" and "phantomjs" inside
"autotest-js"
Merge pull request #7703 from rnveach/jstest

Fixing issues found with running 'autotest-js' locally