JBPM-4134 - Allow configurable option to filter out groups that should not be part of task service db
(cherry picked from commit a33f2cc1836403a53b62b4e301e5537740b9f2d3)