cpp: ome-compat: Add threading and locking support and tests
cpp: ome-compat: Add MSVC vsnprintf compatibility workaround
cmake: Add libtiff check
travis: cpp build requires libtiff5-dev
cmake: Add minimum tiff version to missing error messsage
Merge pull request #1027 from rleigh-dundee/cpp-fixes2

C++: Add cmake build infrastructure for libtiff and threading