Update CHANGELOG and version for 0.3.1