Updated version number and readme for 0.4.0 release.