Added ModuleManager sanity checks

This would prevent a bug we had over at RemoteTech, where ModuleManager issues or conflicting 3rd-party patches could cause key modules to get added to parts twice.
Merge pull request #117 from Starstrider42/patch-1

Added ModuleManager sanity checks