Change template interface

- io_template_new allow to set options for template (currently start_tag
and end_tag)
- io_template_set_template_* process given template and store the
  processed result in io_template_t struct
Add io_config_t struct and use it in template
Allow to give a list of directories to search for file inclusions