XD-2316 Fix batch config REST endpoint

 - If the batch job is not deployed and has no entry in batch job repository,
the detailed job info will not be added for that job. We will only show the job
definition/deployment status from XD ZK repositories.
 - Also, make the `/batch/configurations` endpoint to produce only `application/json`