Add AVX2 support to hsCpuID, and cleanup some misc related junk
Fixup example
This version of hsEvent more accurately matches the previous (Win32)
behavior, and also serves as a proper binary semaphore.
Rename "new account" button resource to reflect actual purpose.
Remove unused and dead code in winmain.cpp.
Fix for timeval on OSX.
Fix missing header on OSX.
Fix pnUUID linking on OSX. Closes #451.
Rename UniChar to plUniChar to avoid conflict on OSX.

OSX defines a UniChar type as part of the OS headers.
Add HS_BUILD_FOR_OSX definition.
Merge pull request #454 from dpogue/osx-fixes

OSX Clang fixes
Making tests run on Linux and removing unicode on unsupported places
Added gtest.
Added Unittest.
Small fix documentation plString.
enable tests
Cleanup of unused code and fix of unit test to reflect that accented chars are counted as two.
Make building the tests optional.
Make gtest build with shared crt by defaul. It would be better to do this in one of our own CMakeLists instead of google's but I couldn't figure out how.
Get CTest working and add pnEncryption tests.

This will allow you to run all the tests with `make test` or `ctest`.
Preliminary unit testing setup using Google C++ Testing Framework.

Including tests for the fixes of 595d265 and 3c73b9f.

Conflicts:
	CMakeLists.txt
Move @cwalther's tests into new dir scheme.
make check working, 1 test app per library