Added PtcActivityQuery API method, primarily for use by the Connect app. CustomField joins and filters are incomplete.
Escape all input strings; completed the CustomField filter