patched a small bug in @examples for boost as well as generalized weighted aggregator and make predictions functions to handle classification and regression (not tested). Build passes unit tests and R CRAN CMD CHECK.