Job detail endpoint

**READY FOR MERGE**

This makes changes to support the auto-update via socket.io of jobs and resultsets.

* add ``result_set_id`` to the job events for socket.io to help make decisions in the UI on whether to fetch a job or not.
* changed the fields in the job detail to reduce http calls and make updating easier.
* added support for fetching lists of jobs and result sets based on a list of ids, not just offset and count.