Insert support in hive connector

Replacing previous PR (https://github.com/facebook/presto/pull/1433) with this. This has changes ported to new insert api
We need to avoid static (global) variables in Presto as this causes problems for concurrent queries, multiple connector instances, etc.