Initial support for true ADM output (content type application/x-adm).

Elimiate the JSON "results" wrapper from API calls. Rename
DisplayFormat -> OutputFormat, TEXT -> ADM. Cleaned up some output and
added some useful comments. Fixed a few latent bugs in testdriver string
comparison routines. Refactored HTTP error handling in TestsUtils. Had
to update many expected test results.

Change-Id: I2d7ead038512455b2ab7844021cb62222400447b
Reviewed-on: http://fulliautomatix.ics.uci.edu:8443/137
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ian Maxon <imaxon@uci.edu>
Reviewed-by: Till Westmann <westmann@gmail.com>
diff --git a/asterix-app/src/test/resources/metadata-transactions/check-state-results/check_node.adm b/asterix-app/src/test/resources/metadata-transactions/check-state-results/check_node.adm
index f0a6e1d..2665a44 100644
--- a/asterix-app/src/test/resources/metadata-transactions/check-state-results/check_node.adm
+++ b/asterix-app/src/test/resources/metadata-transactions/check-state-results/check_node.adm
@@ -1,2 +1,3 @@
-{ "NodeName": "nc1", "NumberOfCores": 0, "WorkingMemorySize": 0 }
-{ "NodeName": "nc2", "NumberOfCores": 0, "WorkingMemorySize": 0 }
+[ { "NodeName": "nc1", "NumberOfCores": 0, "WorkingMemorySize": 0 }
+, { "NodeName": "nc2", "NumberOfCores": 0, "WorkingMemorySize": 0 }
+ ]