Prepare 0.4.0 release.
Merge pull request #53 from apenney/040-release

Prepare 0.4.0 release.