modified equip_cores to add system core first

While there is still a bug in the C somewhere, this at least ensures that the hull gets equipped for the drones and other effected ships.