[DROOLS-536] KieBuilder does not resolve declarations across packages
(cherry picked from commit 869b669cd32b8eb6c1c5497d3f2eedd8abed2011)