[pedigree] fix misbehaving undo/redo when proband gender does not match what is in the phenotips DB
[pedigree] added very simple heuristic to improve positioning (when it is simple to move one parent to make child-edge straight)