using sqlite prepared statement api more effectively
minor performance tweaks
added field types table to output db for rebuilding non-fundamental db types. fixed bugs.
query now returns properly reconstructed blob and uuid types
refactored binding into single method
fixed error msg
* fixed hdf5 memory problems by flushing before mem hdf5 internally holds pointers to is destroyed externally
* fixed hdf5 problem - variable string for blob was being deallocated because hdf5 only stores ptr until flush