Add a config option for the default namespace (fixes #2859)

This commit makes it configurable what the default namespace is. This has been talked about in issue #2859