Update CHANGELOG and setup.py for 1.4.0 release