Document namespace prefix config options and make sure we always

set reasonable defaults. Resolves #630.