Guts: Make type reference formatter easier to use as a library

If you tried to require the file without requiring puppet_docs first, it'd
complain about an uninitialized constant. So now I understand the difference
between referring to an existing namespace and reopening a class/module, so
that's cool.