Initial commit for search tracing.
Helper methods and QueryRunner wrapper.