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