Undo redo for open diagram

Bug fixed for open diagram.
Undo redo now working with open, new, and save
Fixed dragged relationship for undo redo

Fixed bug which prevented the relationship links to be retained during
the clone creation for undo/redo
Merge pull request #30 from Zedzap/undo_redo_memento

Undo redo improvements and bug fixes