Remove D1 ModuleInfo remnants.
Remove code for emitting the old ModuleInfo layout.
Moved constant array creation helper to llvmhelpers.h.
Fixed ModuleInfo module name emission.

The name string is actually emitted inline, not as a pointer
to a global.

GitHub: Fixes #243.
Merge pull request #349 from klickverbot/fix-moduleinfo

Fixed ModuleInfo module name emission