Support traits outside the context of a KieBase

Minor refactoring of trait-related methods