Updated NEWS and version number
Corrections for make distcheck to pass
Added files necessary to make distcheck
Post-release version bump
Merge branch 'release-0.4.0' into develop