CDAP-557 Refactor AbstractAppFabricHandler

https://builds.cask.co/browse/CDAP-DUT133-2
Though not sure because that would complicate `ApplicationSpecification`.