Normalize package.json.

* Add missing properties
* Sort dependencies alphabetically
Use tilde for dependencies instead of pinned ones.
Specify explicitly the files when installing via npm.