Move asciidocgo.safeMode into safemode.SafeMode.

Isolate constants into their own namespace.
Uses safemode.SafeMode.