batch import
consider last closed ledger as present to avoid unecessary scanning on startup:
* marks "full" the last closed ledger present in SQL
* write straight into the nodestore (trigger to disable batching), to limit chances of missing nodes that were in queue while we commited in SQL
duplicate tx should never happen on closing ledger