Preparing a 0.4.0 branch, updated all version to release