JBPM-4400: Problems using persistences with human tasks in OSGi
 - further OSGi improvements
(cherry picked from commit a5faba6a86c57180aee39f23091bd5522758017b)
JBPM-4400: Problems using persistences with human tasks in OSGi
 - need to add export to avoid build failure, issue with split packages
(cherry picked from commit 052894ded28a43e56212ff6aa702e4ce727129ca)
JBPM-4400 - Problems using persistences with human tasks in OSGi - ensure that task variables are marhsalled only with protobuf and not java serialization

(cherry picked from commit dd2dd381ce8c8657b94e4958254976e52b208505)
- making BAM task summaries commands available

(cherry picked from commit 0a83c45058f02fe638f2fc22c9694c4155d0a4a2)
fixes to failing tests to improve build outcome