Use BitUtil for checking bit mask
gradle:  call SMtestProxy.setTestFailed in EDT
assert repository not null changed to set enabled-> false, because in mixed project repository from log may be hg-repo, then git root will be null;
WI-24747 Performance fix: update injected foldings in a single batch operation [CR-IC-6579]
Cleanup (test extracted to make option setting per-class instead of per-test)