BZ-1063783/JBPM-4241 - kmodule deployment service does not process dependent kmodules

(cherry picked from commit 8ceb5c75676f707480b69892c6d38ac2455489eb)