[BZ-1073577] synchronize ksession marshaller
(cherry picked from commit b83edb642bcdbf63bf6a1f9fb534295f57130bbe)
[BZ-1073880] run timed rules in a single thread executor
(cherry picked from commit e488e7165ea5a0f8dfaf93e61f300771f5ae9918)
BZ-1072774 - NPE when I register a workitem handler

(cherry picked from commit 304cfa8a0f01583c4840610bf0a1e2b38bee5775)