Fix RangeCounter for inserting single 'char' values.

Also add unit tests and assertions to catch related bugs.
Improve various opApply and opSlice signatures + add RedisSet.getAll().
Minor reformatting