Added a concurrent 'Queue' to libprocess.

Review: https://reviews.apache.org/r/20308
Introduced a low-level scheduler API.

Review: https://reviews.apache.org/r/20309