Update CHANGELOG and version.rb for 1.4.0