Bug 531345 - Publish product osgi.ee requirement according to <vm>

Use the EE defined in the <vm> node of product definition to define some
osgi.ee capability requirements in product metadata.
Add tests to make sure JRE is still included while unit isn't directly
referenced by product requirements.

Change-Id: Ic2bd5c30215e9936201c70f7268e5c6068979405
Signed-off-by: Mickael Istria <mistria@redhat.com>
5 files changed