Revert "Reorganize R2 thread bucket manager v0.5.1, add templated class for possibility continue parallilize tasks. testing (no any changes must be currently). need check compile under win. Ready for testing."

This reverts commit 7c1ee6cc1ea8640302eaf679a43d2b24731f1e45.
Reorganize R2 thread bucket manager v0.5.3, add templated class for possibility continue parallilize tasks. testing (no any changes must be currently). need check compile under win. Ready for testing.
related to #1402 and some more old.
- also some rework in VMSS (to be continued)
- statistic passed to template (hooks)