[DF-5458] Fixed unneeded main-thread jobs execution, when waitMainJob() with zero id was invoked
Merge branch 'development' of https://github.com/dava/dava.framework into development