Combine tests and restore columns dropped by hstore testing

Disabling the hstore extension during testing created order dependent
test failures.
Merge pull request #9876 from macksmind/restore_cols_dropped_by_hstore_test

Restore columns dropped by hstore test
Make connection_handler overridable per thread