Trait subsystem + fixes ported from 5.6.x. WARNING - FAILING TESTS NOT IGNORED

The following tests are still failing. More might fail after drools-compiler

Misc2Test.testLockOnActiveWithModify  
AddRemoveRulesTest.test
CepEspTest.testLeakingActivationsWithDetachedExpiredNonCancelling