Fix compile warnings with win32

The buffer variable in InstallService() was not ever used.

The other warning was about windows.h being included before winsock2.h
Fix compile warnings

AUTH_FILE was declared twice when it did not need to be.
Merge pull request #136 from awiddersheim/fix_win32_compile_warnings

Fix compile warnings with win32
adding os_regex Match2 unit test
added more unittests from os_regex/example
cleaning up the code and formatting with astyle
make test will make all libs so they can start to be tested.
add NULL terminated arrays as pointed out by @cgzones
Merge pull request #139 from jrossi/unittest-os_regex

Unittest os regex