Issue 846 - Error 42: Symbol Undefined "<mangle_of_class_template>__arrayZ"

https://issues.dlang.org/show_bug.cgi?id=846

It's separated from #2561. Even if an instantiated template is defined in non-root module, generate `_array`, `__assert`, and `__unittest_fail` for the module in COMDAT section.