First stage of external data cleanup In this change, different parts of external data were refactored. The goal was to make it more modular, easier to maintain and allow higher flexibility for extension in addition to reducing code redundancy.
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.