UTIL: Remove Semaphore and ReadWriteLock classes

Both are currently unused and could be reimplemented in a platform independent
way using the C++11 thread support library.
UTIL: add get_settings_path
UMVE: Implement OS dependent search paths

- Added new namespace umve
- Implemented umve::get_search_paths() which pushes OS dependent search paths into a given vector
- Use umve::get_search_paths() for plugins and shaders
UMVE: Explicitly set Qt plugin search path

Qt5 on Windows requires a platform plugin/DLL named qwindows.dll. The default
search path seems to be hardcoded at compile-time to the location of the Qt
libraries on the machine where the code is compiled. It doesn't seem to be
possible to override the search path using qt.conf and Qt also doesn't search
the working directory of the binary. Thus we explicitly add the "qt_plugins"
folder to the search paths by calling QCoreApplication::addLibraryPath(). Then
qwindows.dll has to reside in "qt_plugins/platforms". SVG icons then work as
well if qsvg.dll is available in "qt_plugins/imageformats".

Related bug report in Qt's official bug tracker:
https://bugreports.qt-project.org/browse/QTBUG-28766
UTIL: Include missing header cctype
UTIL: Implement Mutex for win32
MVE: Support TIFF on Windows
OGL: Use GLEW on Windows
UMVE: Use OpenGL compatibility profile on Windows

GLEW doesn't currently work with OpenGL core profile.
MVE/UMVE: Fixed import of invalid EXIF data in JPEG images
Merge pull request #101 from Waldteufel/win-fixes

More patches for Windows compatibility
MVE/UMVE: Removed bilateral filter
UTIL: Style, changed class visibility ordering
OGL: Style, changed class visibility ordering
MVE: Style, changed class visibility ordering
MATH: Style, changed class visibility ordering
Merge branch 'master' into sfm

Conflicts:
	apps/umve/scene_inspect/addin_manager.cc