Close statements
Convert UPDATE into INSERT

This seems to cut the time down from 14s to 10s
Use prepared statements
Execute batches by group of 100
Use a StringBuilder
Recover column names and types more simply
Simplify further
Use TableLocations correctly
Merge pull request #225 from agouge/perf

Improve performance of ST_Graph