configure: Add option for miniupnpc
Check for Boost headers

This is useful in case someone installed the Boost libs without the
headers.
configure: Don't check for a C compiler for CPP

This uses the C++ precompiler for CPP instead.
Remove makefile.mingw
Build Namecoin-Qt using new build system
configure: Check for $tool-qt4 before $tool

ArchLinux adds the -qt4 suffix for the tools from Qt4 to avoid conflicts
with Qt5, so it's better to try those first.
Fix compilation on Linux