Generalize IgnorePatternUpdater.

We'll use this as the basis for other CouchDB updaters, i.e. the
user-agent updater.