Bumps version to 0.4.0.
Updates changelog for 0.4.0
Merges branch 'release/0.4.0' into develop