DocumentSaver: weaker dependency to Document and GSettings

GSettings is still needed for another thing.