Split up XML and JSON testing.

This adds a new boolean config option to compute, 'use_xml'. If
enabled tests will run with XML where applicable. Otherwise the
tests will only run with JSON.

Implements bp split-xml-json-tests

Change-Id: I139dac23194b3abdf26a0d3622461942478facb5
50 files changed