DROOLS-228: fixing classloaders to properly resolve maven dependencies
(cherry picked from commit 2925a529ba59f2ed9829bb4b2d89749f57e89854)