PluginManager.Search Optimization

Identified a few opportunities to optimize PluginManager.Search relating to avoiding reading more information than necessary. Maybe half of these performance improvements only affects development builds.

In the MR, a tap.exe profile --search option was added and the following measurements could be done:

Before After
1261ms 861ms
1250ms 914ms
1249ms 866ms

This affects the performance of raw startup time measured like this: time bin/Release/tap.exe --help:

Before After
0m0.523s 0m0.448s
0m0.512s 0m0.447s
0m0.511s 0m0.463s
-------- --------
0.515s 0.452s
Edited by Rolf Madsen