Avoid sorting modules on each frame

MechJebCore now has a cache of sorted modules, the accessor for modules
takes an optional comparison function and will cache the result.