[BZ-1026311] make incremental compilation to recompiles also modified java classes
[BZ-1032043] fix CCE in reteoo when using declarative agenda