Update version and readme for the 3.1 release.