fix(engine): fix selection of jobs with no registered deployments

- fixes issues with mssql when job execution is deployment aware,
but no deployments are registered

related to CAM-49
Merge branch 'master' of github.com:camunda/camunda-bpm-platform