Fix finding new version for jobtype update via API

This change will make the code look only at the maximum version number
for this particular jobtype when calculating a new version number
instead of the maximum version number of all jobtypes in the system.
Merge pull request #204 from guidow/fix_finding_new_jobtype_version

Fix finding new version for jobtype update via API