Fix nullable

Do it the same is isempty and isnull. Unlike those functions, i don't
think i've actually seen any misbehaviour from nullable, but let's be on
the safe side.
Fix deriv of cat

Caused exponential blowup on pathological grammars.
Re-enable TestPathological
Compact empty nodes
Show walk and walkempty in debug output
Tweak dot output