add function to remove a search provider

Please add this before the featurefreeze. I need it for the full text search app to replace the default file search provider.

@jancborchardt @DeepDiver1975 @MTGap @icewind1991 @karlitschek @tanghus @schiesbn please review and :+1: today!