Update OpenDataManager.php
+ Re #8086+ php refactoring and comments
+ Re #8081+ tests environmnet prepared+ fast fix in build script