fix hardcoded timezone test

This test was dependent on a test having up to ~50ms of latency, which
is not necessarily guaranteed. This allows it to differ up to the actual
elapsed query time.
Merge pull request #2617 from mbroadst/fix-timestamp-test

fix hardcoded timezone test
refactor update/insert query to support additional features

  - added logic to handle corner cases regarding autoIncrement values
  - added support for OUTPUT variables (mssql)
  - added support for identity wrapping (related to point 1)
Merge pull request #2609 from mbroadst/refactor-update-insert-query

refactor update/insert query to support additional features