Add statically linked modules and simplify dynamically loaded modules
Created by: SkyToGround
Adds code support for statically linked detector modules. Some minor CMake changes are also required for them to work but these are left out for now. Has unit tests for the registration part of the code but not for the CLI part or the module loading part as no unit tests existed for these to begin with.