Simple ring-buffer template class, because re-implementing the wheel in every driver is silly.
Merge branch 'master' into mpu6k_queue
Add some more useful methods to the ringbuffer class.
Try to save our sanity a bit and use the generic ringbuffer class rather than re-implementing the wheel.