added favorit field to node and a method to update it
Missing: cache invalidation
added some cache invalidation
(does not cover the case of multiple paths per node)