Bump version number and update changelog.
Merge branch 'release/0.4.0' into develop