Bump versions for release 3.1.1
Add .pre for next release