Add a basic ring buffer.  Benchmarked 3 different mechanisms (pointers,
integer comparison, modulo math) on PIC 18F with XC8 (no optimisation) and
this was the smallest implementation.

Documentation needs adding.