search: add -W/--word argument

This searches for a word, ala grep -w, by wrapping the regex (both for regex
and wildcard searches) with \b (word boundary).

Signed-off-by: Christopher Larson <chris_larson@mentor.com>