[JENKINS-21932] Added tests to reproduce JENKINS-21932, Future#get does not abort even when a task in the queue is canceled.
[JENKINS-21932] Make the slave used in the test offline explicitly.
[FIXED JENKINS-21932] Call Item#cancel when a task in a queue is cancelled.
[JENKINS-21932] Merge pull request #1160