Support for switching off debug mode
Switching to threading macro in get-jobs for clarity
Reformatting
Removing unused code
Explicit test for the issue with large job requests blowing Postgres' maximum size for indexed text fields
Fixes bug that returned :tags [nil] when there are no tags on a job
Optionally give a query map to request-work! (or do-work! or job-consumer) in place of a job type. Fixed small bug with defaulting of sort ordering
Minor: also remove agent key from PUT committments request
Test for more complex job consumer queries than just a static job type
Merge pull request #7 from no-man-is-an-island/job-consumer

Move job-consumer/request-work! to optionally taking a query rather than a job-type
Allow selection of a subset of fields in get-jobs
Merge branch 'master' of github.com:savagematt/toshtogo

# By David Williams
# Via David Williams (1) and savagematt (1)
* 'master' of github.com:savagematt/toshtogo:
  Test for more complex job consumer queries than just a static job type
  Minor: also remove agent key from PUT committments request
  Optionally give a query map to request-work! (or do-work! or job-consumer) in place of a job type. Fixed small bug with defaulting of sort ordering
get-job only returns the immediate dependencies (to avoid trying to ridiculous recursive queries and huge json documents)
(minor) name change
(minor) unused code
(minor) using threading macro to make code read more clearly
(minor) remove unused code
Added midge extension for prismatic schema
preprocessing will replace toshtogo.server.util.job-requests/normalised-job-list
Renamed Job -> JobRequest for clarity