Bump gem version to 3.1.0

Per http://semver.org, since the last version, "new, backwards compatible functionality is introduced to the public API", so it should be incremented on the minor version.