Fix limit logic in getPossibleAncestorRevisionIDs()
Javadoc
Re-instate 1-arg version of revisionHistoryToJson
Fix formatting/documentation
Remove some unused imports
Change insertRevision to take Options object instead of a ton of arguments