fixing HCatReplicationTest
don't create unique process if it's empty
Merge pull request #339 from rostafiychuk/process

generateUniqueBundle fails if Bundle doesn't contain Process
avoid ArrayIndexOutOfBoundsException in waitTillInstanceReachState
revert previous logic
Merge pull request #340 from rostafiychuk/wait

avoid ArrayIndexOutOfBoundsException in waitTillInstanceReachState
Merge pull request #338 from raghavgautam/cleanup

fixing HCatReplicationTest