Revert "Remove HDCQL functionality" This reverts commit 9084e20f4c5ffad9cfea2087396206b75a3a6654.
Remove HDCQL functionality
CQL: fix extra terms in wrong order
Added CQL free-form term tests.