Adding support for using atomic batch updates via the thrift api

@shyamalan could you please review