For Windows MinGW address the "ISO C99 requires rest arguments to be used" error
Add CMake options for Win32 to require PCRE
Fix enabling of LIBNFC_DEBUG_OUTPUT

- inclusion of log-printf.c didn't align with needed preprocessor definitions
- Added extra #error as well as preprocessor protection
- fixed CMakeList to specify -DLOG as appropriate per the header log.h usage
Fix setenv/unsetenv link errors by implementing a local version using Windows SetEnvironmentVariable.

Untested, and does not comply with the error returns per setenv.
Fix all utils compilation on windows.

- As nfc-utils now references str_nfc_target from the lib itself, so the static lib was not properly referencing the libnfc itself, so the final utility link would fail.
- Simply added the libnfc as a target for the static nfcutils library internal to cmake
Windows: getopt usage in nfc-read-forum-tag3 fixed by referencing correct header
Windows: Fix nfc-scan-device to compile by linking in contrib/nfc_win32.c

Re-factored the executable call with a list that is created, so that its easier to modify per tool.
Merge remote-tracking branch 'refs/remotes/libnfc/master'

Conflicts:
	contrib/windows.h
	libnfc/CMakeLists.txt
	libnfc/log-printf.c
	utils/CMakeLists.txt
Merge branch 'master' into alex
Add nfc_register_driver. Issue 137.

The nfc_register_driver allows users of the library to write their
own device drivers without needing to resort to hacking libnfc itself.
Windows: Remove unused header/stub

- Likely from before proper libusb reference
Windows: Remove unused Makefile

Removing in favor of standardizing on CMake usage
Windows: Remove old msi package creation

- Utilized only by recently removed Makefile
- Unused
Windows: Remove rc files in favor of generated rcs
Windows: Update def file for consideration of proper lib file generation

- Aligned to latest nfc.h for function name exports
Windows: Update readme for requirement for PCRE
Windows: Build updates

- Generate rc files from version.rc.in + CMake variable information in CMakeLists files
- Add step to generate .lib file for windows developers
- Re-structure tool flag usage, apparently ADD_DEFINTIONS adds them to _ALL_ tools. This is bad for rc files with the windres tool.

Needs other platform testing, as the flags have changed to fix Windows rc file generation.
Fix nfc_initiator_select_passive_target() in several utils if tag is missing
Fix crash in nfc-relay-picc -i/-t if fd3 or fd4 is missing
debian: fix multiarch issues