Change all occurrences of plain sort() to std::sort()
Add the fakederef class
Change allocation of InspIRCd::Modes to be physically part of the object containing it using fakederef
Change allocation of InspIRCd::Logs to be physically part of the object containing it using fakederef
Change allocation of InspIRCd::Modules to be physically part of the object containing it using fakederef
Remove now needless dynref_init_complete

ModuleManager is constructed when ServerInstance is non-NULL, test that instead
Change allocation of InspIRCd::SNO to be physically part of the object containing it using fakederef
Change allocation of InspIRCd::Users to be physically part of the object containing it using fakederef