Implement --web search command option (see #1682). Add specs for the --web search option.