OSX/cmake: update buildsys for new osl/llvm/oiio usage, also use osx_locals.map in cmake
- fixes T40887
OSX/cmake: little tweak for last commit
OSX/GHOST: Using lion_fullscreen suffers from an uncovered problem when called from operator, disabled for now so ALT-F11
uses old behavior again. OSX menu and CTL-CMD-F still work as lion fullscreen as well as right-upper corner fs window-icon
- We must investigate here why double promotion happens from op calls ( dispatchEvents on redraw cause duplicated calls here )
- The actual op calls cause fs to be in a wrong state, so also mousehandles fail and CTX_wm_window(C) is not valid.
- similar problem is with quit op, which does not close the app right ( totblocks )
- i would prefer to try getting direct os function call here rather
Fix T41180: Crash when using motion blur with Freestyle.

In pipeline.c, do_render_3d() is called multiple times for each frame when
motion blur is used.  This caused duplicates of the same struct Render instance
in re->freestyle_renders, resulting in fatal double freeing of allocated memory.
Style cleanup GHOST/Win32
CMake/MSVC: use '/SAFESEH:NO' linker flag, needed for some systens (D682)
Install_deps: forgot to cleanup that in latest commits.
Fix uninitialized vars
ignore in-source doc building dirs
T41196: Python call of bake operator cause Blender Crash

We could make the exec to also show the progress bar, but I think it is not needed.
Fix T41139: Cycles Hair BSDF roughness problem
UI: Change appearance for panel drag area (D637)

Patch by blakenator with own edits
Fix invalid RNA limits
Fix T41193: 2.71 use 100% of CPU at sculpt

Issue wascaused by the famous OpenMP crap in MSVC2013,
so only way is to use openmp threading if number of BVH
nodes is high enough.

Made it 8 for now, which seems to work rather fine on my
laptop and adult dragon from sintel. But maybe it's to be
adjusted a bit more.
RNA: check for valid ranges with int properties (C11 only)
Fix T40831: Shrink wrap modifier causes very high CPU usage when targeting meshes with shaped keys

Same issue as revious one -- need to start OMP threads only
when there's enough data to crunch.
Fix T41221: 3d view rendered mode crashes on new scene
Reduce OM limit for sculpting after discussion with Antony

That's rather tricky to think of a good threshold here, and
maybe we'd better use something based on the number of faces
instead.

Anyway, let's give it a try this way and see what happens.
Warnings
Fix T41201: Blender Crashes when UV Editing

Disable adding snapping point outside of 3D space for now,
visualization of the points is not implemented outside of
this space and silently adding them wouldn't really be a
good idea.