configure: add a verbose mode

Required for Fedora infrastructure so that the commands used to build
ninja are logged.
Merge pull request #882 from mathstuf/verbose-configure

configure: add a verbose mode