Added toTreeNode and fromTreeNode to ClaimPower

toTreeNode implemented, fromTreeNode still to be implemented.