JBPM-3939 - runtime manager and task api