Bump NPM version to 0.4.0 in preparation for publishing.

The minor version bump is due to the much improved handling of parentheses.