Add support for remapped dependencies, for inheritance lookup

Required for correctly remapping methods/fields defined in
superclasses but accessed on subclass instances, etc. Normally
you would add a <remappedDependency><param>... in the 'remap'
goal for each artifact remapped with 'install-remapped-file'.