HBASE-8946 Add a new function to Thrift 2 to open scanner, get results and close scanner (Hamed Madani)