Update CHANGELOG for new release.
Tag version 0.4.0.