dependencies support

- Added dependencies support.
- Better looking dependency lines between note nodes.
- Updated save method which does not override the old dependencies
anymore.