Add package support for media folder

Actually package install adapters doesn't support:

```XML
    <!-- Medias -->
    <media destination="myfolder" folder="media/myfolder">
        <folder>css</folder>
        <folder>images</folder>
        <folder>js</folder>
    </media>
```

This adds support for them like in components.