Improve handling of function in handleBlock
Improve handling of function in handleBlock

Set args.$template to the block contents;
If the result is a string then replace block with it in rendered output.
jido/mistigri.js