refactoring AppFabricTestHelper

Refactored AppFabricTestHelper to be an abstract class and made the dependent changes. 
To Solve the issue described at
https://issues.cask.co/browse/CDAP-5.