add template functions for html imports

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