Refactor: rename IResource::TEXT to IResource::QUERY
$presenter->defaultMimeType can be override by Accept header
Changed query resource content type to text/x-query to avoid conflict with simple text