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.
Merge pull request #479 from xytovl/performance

Avoid sorting modules on each frame