ASTERIXDB-1148: Selectable array-wrapping of results Introduce "wrapper-array" parameter to HTTP API which selects (for ADM and JSON) whether to wrap the result sequence in a generated outer array. For JSON this defaults to "true" as before. For ADM this defaults to false, resulting in a large number of expected-results changes.
Also introduce ability to have AQL tests which provide HTTP parameters.
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 <firstname.lastname@example.org> Reviewed-by: Ian Maxon <email@example.com> Reviewed-by: Till Westmann <firstname.lastname@example.org>