various improvements in the build process for Windows

* verify that Perl and NSIS are installed before the MSVC build
* install in "Program Files (x86)" for a 32-bit build on 64-bit OS
* refuse to install the 64-bit binaries on a 32-bit OS
link with the multi-threaded dynamic CRT for Windows/MSVC builds
install the MSVC runtime if it is not present on the target machine

The appropriate runtime is downloaded at the time of building the
installer and bundled with it i.e. no separate download is required.
properly cleanup registry entries when uninstalling on 64-bit Windows
fixed #1863 via wkhtmltopdf/qt@ccffd0d9842e06ed1521fa669faec2c50e6bae71
fix merge