Improved reactivity to avoid Deps.autorun unnecesary runs.
Added beforePublish, beforeSubscribe and afterSubscrive callbacks.
Filtered template data.