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

checkstyle fixes
more checkstyle fixes
Merge pull request #2707 from eminn/fix/xa/issame

fixes #2689, implemented proper isSameRM() methods on the XaResources ba...