Refactored transplant/makepaths, added cutleaf.
Also refactored tests for all of the above.
Removed deprecated __cop_leaf_map and __fixstems
Removed deprecated unittests