Changed pull_for and pull_until to pass by const ref.

The pull_for and pull_until methods of sync_priority_queue
now take their parameter by const ref rather than by value.

Still need to make these function generic on the type of
time_point or the type of duration.