added support for template inheritance.
added tests for template include.
make built-in helpers registered by default.
added support for local var in if