Add queue.pause() and queue.resume()
Merge pull request #474 from maxkueng/pause-and-resume

queue.pause() and queue.resume()