Session setup: Created nested transaction for each archive imported, plus logging in case of errors
minor
minor
Separated `id` for `NodePath` since conflating primary id with foreign key `node_id` is trouble
Ensure that `base.id` is set when executing `db.session.execute ('..' % base.id`
Keep `node_path` materialized view in sync with `node` table on node/leaf insertion