Update master versions to 3.1.0-SNAPSHOT