Increment version in README to v0.4.0.
Increment distribution to v0.5.0.