search: rename Pattern to PatternInfo where applicable
Created by: rvantonder
Pattern is both a member of search.Args (of type PatternInfo) and a member of PatternInfo. Let's stop the madness and call it PatternInfo. This will make it easier to refactor parts of this later (which I started doing, but then got sidetracked by this naming).
Semantics preserving rename, tests pass.