Consider all possible result types from `CASE`

Rather than finding the leastUpperBound between all the different
expression types, consider them all as equal possibilities.
Move config for the manual to doctools.