Added a "quote" flag to the resource_to_url utility function and
replaced single quotes in linked entities in CQL strings with double
quotes.