Add item cache functions for saving and restoring items. This lets callers more easily undo changes while they have transactions pinned. Signed-off-by: Zach Brown <zab@versity.com>