Fixed bug in objectRegistry's 'get' function
Minor changes to JSDoc comments
Bugfix: changingUndoType always took effect globally and never per instance. Fixed.
The objectRegistry and the ownedUndoTypes are now properties of the undoManager and not of the undoStack. This was necessary to get 'merge' running
Added tests for 'merge' and the objectRegistry