Prerequisite refactoring

Also fixes "required by" lies (for example with Afterburner III and a
fit containing a T2 AB, the mastery section says "Required by 10MN
Afterburner II, High Speed Maneuvering").