Prepare v0.4.0 release

Making this a minor release, since some of the changes
may potentially break existing code, e.g. code reliant
on `node v0.8.x`. See changelog...