Reimplemented -purgeRevisions: using ForestDB.