autorig: Made classRigPart more intelligent

RigPart objects now automatically call unbuild() on their shapes and
purge themselves of invalid PyNodes.