Implemented RevsLimit configuration, AKA "revision stemming"

Limits depth of a document's revision tree by purging old revision
metadata. Fixes #167
More channel-log fixing

* Backed out the sorting of the channel-log; it's a bad idea
* Stop skipping hidden entries
* Removed some unused ChannelLog methods
* Prune overwritten entries when deserializing a channel-log.