template: Handle searches with multiple terms

Return both `any(terms)` and `all(terms)`, but show only the results
found in all terms sub-searches.
3 jobs for 2021.1 in 2 minutes and 25 seconds
latest
Status Job ID Name Coverage
  Check
passed flake8 #1201476

00:01:49

failed mypy #1201477
allowed to fail

00:01:46

passed reuse #1201478

00:02:25

 
Name Stage Failure
failed
mypy Check
gidocgen/gir/parser.py:925: error: Argument "get_type" to "GType" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:968: error: Argument "get_type" to "GType" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:990: error: Argument "name" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:990: error: Argument "symbol_prefix" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/gir/parser.py:990: error: Argument "ctype" to "Union" has incompatible type "Optional[str]"; expected "str"
gidocgen/utils.py:763: error: Need type annotation for 'found_programs' (hint: "found_programs: Dict[<type>, <type>] = ...")
Found 186 errors in 4 files (checked 15 source files)
Cleaning up file based variables
ERROR: Job failed: exit code 1