Fix handling of paths for -qf.

See Gentoo bug 93843. This is the patch suggested by Aron Griffis.
Revert "Treat dirs the same in -qf as in -ql"

This basically reverts commit cbf3c46718b635a2d58d56987e295d3d90a304ae.
As per Gentoo bug 153921 comment 1 this was not a good idea, since most
packages don't use keepdir and so dirs without .keep exist.
Fix documentation and call it 1.4.0.

The CVS $$ attributes don't work with git any more, so replace their
use a bit. Document stuff to be able to make a release.