Add wildcards to osgi import with resolution:=optional

The manifest generation will only apply the optional resolution to the exact package defined (e.g. com.fasterxml;resolution:=optional will apply resolution:=optional to com.fastexml but not to com.fasterxml.uuid). When deploying activiti-engine, karaf complains about missing bundles (junit, drools, com.fasterxml.uuid) that are supposed to be optional.
Merge pull request #183 from mwinkels/patch-1

Add wildcards to osgi import with resolution:=optional