Implement LLVM.General.Module.writeModule

This enables easy writing of bitcode.

This should be added to the other live branches as well, but 3.3 is the stable version so it seemed the best base.