Fixes #1501 Enabled via the --json-logging parameter.
This renames tests/integration to tests/end2end and moves some files to tests/end2end/fixtures.