[BZ1069126] Enhancements to STSClientPool and STSClientFactory and small

latest changes from prod branch
https://issues.jboss.org/browse/PLINK-316