changed required version for removeTrailingSlash to 3.01

I'm not sure if this is correct, but require >= 3.1 doesn't even compile with the current git version.