Use OpenGL 3 and adapt for OS X usage.
Merge pull request #100 from Waldteufel/osx

Use OpenGL 3 and adapt for OS X usage
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.
Merge branch 'master' into sfm
SFM: Added P3P RANSAC, updated bundler
SFM: Bundler Updates using P3P
SFM: Many updates, PBA, P3P, etc.
UMVE: Added SfM tab
SFM: Added missing files
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