[DROOLS-532] add automatic version recognition in PersisterHelper
(cherry picked from commit e34a310ebc3649b9e46c5b60c0062acea2df4cf1)