Update package.json.

Add missing properties and refactor them in a more sane way.
Update mocha dependency.
Travis CI: Add node.js 0.4 and node.js 0.11.
package.json: fix test command on Windows.
README.md: Add dependency badge.
package.json: use https for the github links.