Pattern match: add support for quotes

Add support for QuoteLink, which allows Variables and Grounded functions to be escaped.  This is partial fix for bug #955