TrigConfStorage: enable thread-checker and fixes
- use thread-safe static initialization or remove static where not needed
- move the
DBLoader::ENV
toMenuLoader
as it is only used there - various
const
fixes
The only visible functional change is that now we are no longer able to read from DBs with different schema versions in the same job. But that's not a use-case anyway.
Also cleanup some obsolete files, fix file permissions and rename the test
directory to apps
.
Relates to ATR-23102.