BZ-1038214: adding support to import accumulate in order to allow users to plug custom accumulate functions in Drools 6
(cherry picked from commit 1b5135e54590595c9072d30d3049b17b5ba66dd0)