-Minor refactoring of the reversing code
-we no longer "rewind" from the front when that's less work
-the various rewinds now return two values:
  - the state at the rewound point
  - a list of fact IDs affected by the rewind
-Added total-entries method that returns the sum of in-history and in-delta entries for a particular fact-base