[hbase10] Address #701 by mimicking the same locks from the HBase 0.9… (#1028)
- [hbase10] Fix #701 by mimicking the same locks from the HBase 0.98 client in the HBase 10 client.
- Address CR comments, thanks @allanbank.
- Addressed the table lock.
- Restore the lock on the connection shutdown.