[DROOLS-209] make a class traitable even when it doesn't have a no-args constructor
(cherry picked from commit 124fef3ff1d1cc0ffc8ea6d883417d783a12e374)