Refactoring ClassHelper for readability.
Refactoring ClassHelper for readability.

Also removed getEnclosingClass() which is now
available in JDK itself.
cbeust/testng,emopers/testng,krmahadevan/testng,cbeust/testng,missedone/testng,emopers/testng,emopers/testng,emopers/testng,krmahadevan/testng,emopers/testng,cbeust/testng,cbeust/testng,krmahadevan/testng,missedone/testng,missedone/testng,krmahadevan/testng,krmahadevan/testng,cbeust/testng,missedone/testng,missedone/testng