xtuple/xtuple — pull request #1181 by bendiy (2014-01-06 22:43:11+00:00)
Title: 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
}$$);
```