fixes #2689, implemented proper isSameRM() methods on the XaResources based on cluster group name

checkstyle fixes