Fixed getParent() to take into account accountability dates. Fixed setParentUnit to close other accountabilitues. CLoses #76. Closes #77.