Version bump to 3.1.0
Regenerate gemspec for version 3.1.0