Add unit minimal unit test for template engine
New block style. Use `block`, `/block`

* match is now case insensitive
* spaces are now optional at begin and end of the comment
Bug fix parsing non-existing block throws an error

It was leading to an infinite loop
New  syntax for widgets in templates