allow group names to change their cases.

we shall mark the new name valid if the duplicated group we found(which was
loaded by name case-insensitively) is the same one that is going to change.
Merge branch '4.0/allow-group-to-change-name-cases' into 4.0-trunk