add template functions for html imports

Adds HTML imports to the header:

```php
<?php
component('news', 'test.html');
?>
```

inside a template will add a header that includes **$app/component/test.html**:

```html
<link rel="import" href="owncloud.home/index.php/apps/news/components/test.html" >
```