Fully support writing features to another repository.

Support the mirroring of feature bundles when the mirroring application
is used and add a test class for this functionality.