Fix FreeTextQuery q=foo

FreeTextQuery; e.g. example.com/api/contact?q=foo didn't work.  This change will fix that issue and build a query like the xt.get() example:

```javascript
    select xt.get($${
      "username": "admin",
      "nameSpace":"XM",
      "type":"ContactListItem",
      "query":{
        "parameters":[
          {
            "attribute": [
              "name",
              "phone",
              "address.city"
             ],
            "operator": "MATCHES",
            "value": "mike"
          }
        ]
      },
      "prettyPrint": true
    }$$);
```