allow asset download by type and name

needed by os-autoinst tests so we can put the name in e.g. REPO_1. For repos we
also need to allow downloading files in subdirs.
run tidy
Merge pull request #49 from lnussel/master

allow asset download by type and name