[DROOLS-503] Automatically infer traitable status for non-declared classes
Support traits outside the context of a KieBase

Minor refactoring of trait-related methods
[DROOLS-501] Proppagation context is not set correctly when nodes are shared
Merge pull request #339 from sotty/master

DROOLS 501 + Trait enhancement