Handle cancel across the board

Rename the cancel function, which was confusing... and leading people to
use the wrong cancel function, which didn't actually test for the job
being canceled (except for the API driver code).
Merge branch 'master' of https://github.com/0xdata/h2o