Replaces basic escaping of special data with one based on hashes.

* Adds EscapeStore helper class to aid escaping and restoring.
* Necessary for selector- and property-level optimizations.