Small rewrite in JobManager.java to fix a bug where jobs could be duplicated under certain conditions. https://issues.apache.org/jira/browse/OFBIZ-5496

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1558774 13f79535-47bb-0310-9956-ffa450edef68