Fixed QuoteNode printing and comparison

Also a tiny bug that was causing dump to print arrays to STDOUT rather
than the requested IO.
Merge remote-tracking branch 'upstream/master' into deparse
Removed unnecessary parens when showing quoted Symbols
Merge pull request #5845 from Calder/deparse

Fixed QuoteNode printing and comparison