Fix all DScanner warnings mentioned by Brian Schott.
Make the library @safe and nothrow where applicable.

Most notably, the generator module is not @safe, because Appender isn't.