Added detach methods

Detach methods prune a node from a tree and return it as a new
Phylogeny variable with the root set as the detached node.