Fix issues with creation of feature IUs.

Every feature must provide a 'feature.jar' and 'feature.group'
installable unit. Further, any lookup of these units should map back to
the corresponding feature folder from which they were generated.
Fix jar corruption bug.

Also add a check to prevent regressions by verifying against file sizes.