First-draft _QLButton function

Also, made data attributes more forgiving in what they will pass
through, and introduced escaping in a couple of places that need it.

Added the Invocation.rawParam() method, to get at the parse tree when we
need it.

Began to introduce _updatePropSummaries, but that is far from done yet.