[Git][ghc/ghc][wip/dcoutts/capability-yield] 15 commits: Move several Capability utils from Schedule.{c,h} to Capability.{c,h}