Fix test to generate events and handle time

(cherry picked from commit 21c898799b2f470e10eb37b8781189dee19032d3)

Conflicts:
	acceptance/helper.rb
	acceptance/tests/reports/report_query_by_timestamp.rb
Add Accept: application/json headers for the 1.3.x backport of this patch

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #658 from kbarber/maint/1.3.x/backport-report-query-fix

Maint/1.3.x/backport report query fix
Merge branch '1.3.x' into 1.4.x

* 1.3.x:
  Add Accept: application/json headers for the 1.3.x backport of this patch
  Fix test to generate events and handle time

Conflicts:
	acceptance/helper.rb
	acceptance/tests/reports/report_query_by_timestamp.rb
Updated documentation for PostgreSQL configuration to reflect changing
from ident to md5.
Added example pg_hba.conf configuration, cleaned up language regarding modification of it, and reordered with examples so as not to be so wordy.
Clarified how to locate the pg_hba.conf.
Small cleanup for example pg_hba.conf documentation change

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'maint/1.3.x/postgresql-manual-pg_hba_conf' into 1.3.x

* maint/1.3.x/postgresql-manual-pg_hba_conf:
  Small cleanup for example pg_hba.conf documentation change
  Clarified how to locate the pg_hba.conf.
  Added example pg_hba.conf configuration, cleaned up language regarding modification of it, and reordered with examples so as not to be so wordy.
  Updated documentation for PostgreSQL configuration to reflect changing from ident to md5.
Merge branch '1.3.x' into 1.4.x

* 1.3.x:
  Small cleanup for example pg_hba.conf documentation change
  Clarified how to locate the pg_hba.conf.
  Added example pg_hba.conf configuration, cleaned up language regarding modification of it, and reordered with examples so as not to be so wordy.
  Updated documentation for PostgreSQL configuration to reflect changing from ident to md5.
Merge branch '1.4.x' into burgundy

* 1.4.x:
  Small cleanup for example pg_hba.conf documentation change
  Clarified how to locate the pg_hba.conf.
  Added example pg_hba.conf configuration, cleaned up language regarding modification of it, and reordered with examples so as not to be so wordy.
  Updated documentation for PostgreSQL configuration to reflect changing from ident to md5.
  Add Accept: application/json headers for the 1.3.x backport of this patch
  Fix test to generate events and handle time

Conflicts:
	acceptance/helper.rb
	acceptance/tests/reports/report_query_by_timestamp.rb