Adding --outputonly option to prevent trees from being cloned
This MR implements a command line option called --outputonly
When this option is added together with the --inject
command it will only inject the output branches and not clone the remaining tree.
This saves storage space and allows for the output tree to be used as a "friend" tree.