making sure node.js and npm are installed before running install.sh
Merge pull request #314 from JohnMaguire2013/install

modified install script to error if node or npm aren't installed