fix a couple remote mm install issues

prune unused stuff from the multimedia map before iterating through it
be more lenient about the URIs used: only require they start with jr://file/
Merge pull request #293 from dimagi/media-suite-fix

fix a couple remote mm install issues