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
Fix pfPython tests on Windows.

target_link_library all the things :(
Remove hack not needed for VS2013.
Some minor whitespace cleanup.
Uncomment some plString tests to see if they work.

They do work in gcc on Linux.
Changed to use arrsize
Added extra test in ToUTF16
- CMakeLists.txt : Fix mess caused by rebase/merge
- pfPythonTest/CMakeLists.txt: changed python linking like Mystler suggested (at least I hope I understood it right)
- test_plString.cpp : added actual test, removed tab somewhere
- Fixed spaces in plstring docs
- Moved the CRT flag
- removed format tests as plString::format is deprecated.
Merge pull request #381 from Lunanne/Unittests_clean

Add Unit Testing Framework.
Replace hsArrays in SortVisibleSpans() with STL vectors
This seems to fix occasional crashes encountered on TOC.