Docs: use GraphDatabaseSettings to configure DB.
Merge pull request #1767 from jotomo/gds-conf-docs

Docs: use GraphDatabaseSettings to configure DB.
Fold semantic checking over collection

Rather than using the fold to build a chain of semantic check functions.
This reduces the stack requirements for semantic checking.