set pluginsDir in packages #1051

fixes #1051
added progress report to version upgrade #1052

fixes #1052
changed applyToDatabaseNames to use batching #1059

Inlining the work in the callback leads to a deadlock with checkpoint if a
checkpoint begins before we call back into the ydb while processing _f.