Fix classic_match()

"?" matched against an empty string, what it should not do.

As a result of the fix, the variables used for name and pattern
are not interchangeable any more, which reflects in changed
variable names.
Fix broken test for cmdnames.c
Use stdbool.h
Re-create lost "make doc" for firmware's doxygen docs
Add imgtool to main Makefile and win32 distribution zip
Fix broken "make clean" in main Makefile