Add check that 'struct ModuleInfo' exists in object.d

Makes Module::moduleinfo an AggregateDeclaration, sets it's value if found in object.d, and checks that it exists before generating the moduleinfo.

Knowing what type 'struct ModuleInfo' will be helpful for gdc in some related fixes in porting to ARM.