Upgrade various dependencies.
Bump NPM version to 0.6.5 in preparation for publishing.