Fixed generation of assembly if the features contain other features. Wit...

...hout this fix the bundles of the referenced features in a features that was defined in <installedFeatures> or <bootFeatures> were not copied to the system folder of the assembly.