Search plugin

first stab at a search plugin from #972, currently only works with http pouches, haven't started local version yet, work on progress, not squashed code formatting is embarrassing etc.