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

This reverts commit 43cb03c445d004b3ffd4ff3ed47a238f29fcfd63.
use guids instead of pointers in DungeonPersistentState. must be much more safe. related to #1406 and some more old. testing.