Bump version and changelog for 1.4.0