NXP-12399: NuxeoPrincipalImpl getAllGroups should return a copy of the group list
NXP-8965: add helper methods on versioning options to ease up display