Sets version to 0.4-dev.
Fixes missings default values in some cases.
Prepares release.
Merge branch 'develop'