BZ-991058: cleaning up the code by removing duplicate class from jbpm-flow
(cherry picked from commit eb911b6de8c290b1f4772bcbfc0d87aef2858995)
BZ-1021886, BZ-1001972 - Support for deployment operations in the (kie-remote) REST API