Bump version constant to 3.1.0 for release