Updates version to 3.1.
Merge pull request #1 from nicopace/master

Updates version to 3.1.