API cleanup. More documentation.

Also a couple more tests.
The counting filter now counts the number of times any of its bits has
overflowed.