Fix clip editor interface being broken by a71f072

Please do test commits before committing them.
This is second working day in a row which was started with
solving issues caused by untested patches.
Code Cleanup: de-duplicate nested node tree checking
Implement clipboard for mask splines

So now it's possible to copy-paste splines between layers.

Implementation is pretty much straightforward and duplicates
some logic which we've got in sequencer/tracking clipboards.

Will work on a common routine for clipboards later, for now
it's not so much crucial to have.
patch by liblib (lid b)

Default installation path of cuda nvcc.exe contain spaces

Reviewers: juicyfruit

Differential Revision: https://developer.blender.org/D239
Update Carve to latest update

Fixes some issues with NaN vertices in special cases.
Also adds edge interpolation routines which are currently
unused but which are requires to implement edge CD interpolation.
Fix T38355: Crash with Shader Node Group with missing datablock,
only in "Material" viewport shading.
Attempt to fix T38373: cmake linux build failure with OpenEXR.
Fix incorrect extern
Use includes for blenderplayer stubs

exposes many incorrect and redundant stubs
Buildbot OS X: compile with clang instead of GCC.

This should solve the missing -mavx option for Cycles, and also give better
performance since GCC 4.2 is now 5 years old already.
Code cleanup: use booleans where appropriate
Revert recent OpenEXR cmake/linux fix and earlier OS X fix to use GCC for AVX.

Both need a better solution and break working builds.
Fix player compile in scons and disable -Wmissing-prototypes for Apple atm.
OSX/scons: fix gnu gcc compile by using clang assembler ( openMP builds)
OSX/scons: consequently make use of the recently introduced C_COMPILER_ID and  CCVERSION env vars
Revert the removal of Blender Internal Edge rendering, after artist feedback.

This reverts commit fb91a602c756f3ee5a122efa1862b8be7604186b.
Attempt to fix compilation error with MSVC-2008
OSX/scons: fix own error in last commit and do a cleanup
Fix compilation on Windows, syntax error.
Correct typo in the patch file as well