Bump version to 0.4.0.0.

Adding missing Applicative instances means we need to bump the major version.
Merge branch 'master' of github.com:judah/terminfo