Generalize mod installation to resource installation.

Means we can support installing shader packs/resource packs easier