add template functions for html imports
append .html since componets always use html files
Merge pull request #10947 from owncloud/html-imports

add template functions for html imports