reduce queries for fetching many node`s data
ensure sort order of references matches the identifier list
improve sqlite IN() max of 999 chunking
cleanup and also handle prefetch
Merge pull request #216 from jackalope/ElectricMaxxx-get-nodes-data

get nodes data optimization