Revert "rework lock chain and references counter in TerrainInfo part 2. requires previous changes in TerrainMgr && TerrainInfo."

This reverts commit 7ee48541098d41749df12ac43fb6833f9473c6e8.
Revert "rework lock chain and references counter in TerrainInfo. requires previous changes in TerrainMgr. testing"

This reverts commit 6d077fc9adbc11b919e155672a29277151966d67.
rework lock chain and references counter in TerrainInfo v0.2. requires previous changes in TerrainMgr. testing
- make SmartPtr's locked (as in original code)
rework lock chain and references counter in TerrainInfo part 2. requires previous changes in TerrainMgr && TerrainInfo.
- use refcounted autoptr instead of grid counter matrix. remove some locks.
testing