ometa: fix `this` propagation and replacement

`__$ctx` should not be automatically propagated to apply() and
applyNext(). Those should have `this` by default, and `__$ctx` only if
they are in the same scope as the template.