Update to new PromiseJS-promises, and added to npm

Updated to a new version of promises for compatibility, and added a package.json-file with npm info.
Will update the repo and transfer ownership to you, so you can update it, after this is committed into your repo.