module: Check version before loading a module
Since there's no stable API for modules, all modules need to be compiled together with the server. This version check tries to ensure that if a version mismatch happens, there will be an informative error message rather than a random crash.