Fix flake8 on travis

Also, fix header underlines in CHANGELOG