Add getModuleFlag(StringRef Key) to query a module flag given Key.

No functionality change.