Bump version to 1.4.0 and add CHANGELOG.md