[WIP] Query constructor API changes

Use ZEND_STRL() rather then passing the string plus strlen()+1