Replace a few invocations of control_event_bootstrap() with calls from the bootstrap tracker subsystem. This mostly leaves behavior unchanged. The actual behavior changes come in the next commit. Part of ticket 27167.
It also no longer distinguishes the case of internal-only paths, which was often wrong anyway. Closes ticket 27402.
Part of ticket 27402.