template: implemented 'include' directive for templates

this directive includes the content of another template in the current
template. it is similar to jinja2's 'include' directive:

http://jinja.pocoo.org/docs/dev/templates/#include