api: refactor replaceContext into ContextReplacer
bemhtml: wrap escaping this

Put back $$block and friends into escaping `this`.

fix #555
api: wrap escaping apply() calls