Merge pull request #305 from sotty/5.6.x

5.6.x fixes
[BZ-1044529] fix memory leak caused by kbase.getStatefulKnowledgeSessions()
[DROOLS-379] Prevent Memory Leaks