Update changelog and bump version to 0.4.0 (no tag yet, not final)