getLanguageFormMap will always returns array for make foreach more easy.

add hook template_import_files, which will be call when template engine generating template file map.