Moved method getNodeFromTarget to the Node constuctor.
Minor changes in the examples.
- Implemented restoring focus on undo/redo.
- Implemented more shortcutkeys.
- Implemented selection of all text on tab and after insert/append.