Flesh out support for ambiguous inputs.
Makefile: Support -C builds.
Add a test runner.
Track 'stat' as ambiguous.

This was more or less the motivation for introducing ambiguous. Yet to see
whether this is actually the right way to go.