HBASE-9847 HConnectionImplementation does not connect to new active master (rajeshbabu)

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.94@1536591 13f79535-47bb-0310-9956-ffa450edef68
HBASE-9842 Backport HBASE-9593 and HBASE-8667 to 0.94 (rajeshbabu)

git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/0.94@1536592 13f79535-47bb-0310-9956-ffa450edef68
Merge remote branch 'origin/0.94' into 0.94-gd
Merge remote branch 'origin/0.94-gd' into fb-YAHOO-312-0.94-gd