Add Win32 support.

It builds with MinGW-w64 and all tests pass.
Removed unnecessary includes
Uncrustify all code
Cleanup formatting in configure.ac
Comment tweak for win32 conditional bits
Doc MinGW support in Changes