Adapt HistoryDao: moveItem is now called renameItem, getRevisions now returns a SortedMap with an identifying key.