Fix the circular buffer 'get' beyond the end of the buffer

It now returns nil as specified instead of wrapping around to the
beginning of the buffer.
Merge pull request #19 from mozilla-services/cbuf_get_beyond_end

Fix the circular buffer 'get' beyond the end of the buffer