Bump to version 1.4.0 with updates to changelog.