Prepare for version 0.4.0-incubating release.
Merge branch 'branch-0.4.0'
Bump version to 0.5.0-incubating-SNAPSHOT for 0.4.0 release.