Added queryURL function for custom resource URL queries. Exporting TastyResourceFactory so it can be subclassed.