Better unique support

* _job_handles needs to be an array of tasks since multiple jobs may map to the
  same handle when using unique for coalescing
Add a test for the coalescing bug fixed by 3c80b60
Expand incomplete comments