[DROOLS-91] fix discovery of settableProperties for a given class when adapting mask (backport)
(cherry picked from commit 9b349d0d96432ea1f5bf1dcdfd85d667798fc689)
[DROOLS-99] TypeDeclarations for Java classes used in Patterns are created in the wrong package
(cherry picked from commit 497d84a1b7aa813aca11b5039b4e810675885a34)
[DROOLS-99] put type declaration for Java classes in a Package with the same name of the one of the class