[DF-745] Add SafeRelease to LandscapeEditor's undo items
[DF-746] Repeating code moved to separate functions
Merge branch 'DF-31_Undo_Redo_2' of https://github.com/adebt/dava.framework into codefix