Enhance installer tests to additionally verify the generated "provides"
and versions of installed plugins and features.

Signed-off-by: Mat Booth <mat.booth@redhat.com>
Add a test to verify that we can deal with the case of having two
bundles in the reactor that are different versions of the same BSN

Signed-off-by: Mat Booth <mat.booth@redhat.com>
Fix generating provides when reactor contains more than one version of
the same bundle

Signed-off-by: Mat Booth <mat.booth@redhat.com>
Fix two incorrect metadata edge cases:

 - Metadata for installed artifacts was missing when two or more
   versions of the same bundle name were in the reactor
 - Metadata pointed to the wrong artifact on disk when a feature
   had the same bundle name as a plugin in the reactor

Signed-off-by: Mat Booth <mat.booth@redhat.com>