Register mock instrumentation with PassBuilder and make a run
of pass/analysis checking that corresponding instrumentation calls
are done by pass managers.
(Since I'm new to these unittests) after the overall concept
(as well as details) of my testing approach are confirmed I'm going
to split this change in pieces and attach these pieces to the appropriate
PassInstrumentation patches in my series.