Generalised Sequence to a templated WrappingCounter.
Fixed comparison to work on all types, not just uint16_t.
Now using template unit test for WrappingCounter.
Added more todo comments.