Update version and changelog for 0.3.1