Register partitions to hcat tables using HCatClient APIs

This pull req contains initial changes to develop which were implemented using HCatClient APIs.