Updated files for the v3.1.10 maintenance release

Also deleted version history references to v4.0 to avoid unnecessary duplication (simplifies future v3.1.x maintenance releases).