Fix some docs in the document module

Signed-off-by: Matthew Brush <matt@geany.org>