DB optimisation: getSubsiteIDForDomain caching more effective (now does hostname sanitising before cache read, so test.marvin:2026 can now be cached). probably only effects dev.