Add a package.json for npm installation of dependencies

I have locked the connect library because current code doesn't work with connect 3.0.


I make the pull request against master branch because dev is out of date.