Update to new PromiseJS-promises, and added to npm

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