Reworked extract attachment tests.
Extract attachments view: fixed icon display in attachment listing.
Merge pull request #668 from 4teamwork/pg_extract_attachments_icons

Extract attachments view: fixed icon display in attachment listing.
Create repositories from generic-setup folder instead of single file.

This moves repository creation in one place taking filename as repository-id.
As a side-effect it adds the possibility to create multiple repositories at once.
Make sure repositores are first in content order.