Publish v4.0.0.

Major version due to dropping support for node v0.8; otherwise compatible with v3.0.2.