add possiblity to have svg icons

This just adds the possibility to have svg icons for packages (not only png as it is the case now.)
Cheers,
C.