Add support for PostgreSQL HSTORE

(cherry picked from commit 4d8e0841e9f5cee1059cba2bfa6b611b2d5abf14)
Allow adding points and polygons to the same table

(cherry picked from commit 79ac3c4a346fa7b022367114d17e53ebff3014c9)