Assorted polish fixes for keyframe theme settings patch

* Version patching fixes for theme settings
* Added missing support for NLA (needed for the keyframes drawn in the action lines)
* Fix for a lack of contrast between selected and unselected extreme keyframe type
  (restoring it back to the pre-patch color scheme)
* Fix for keyframes on protected channels not being drawn with partial opacity
Bump up default size of vertices in Graph Editor to make them easier to see/select
Blender Internal: Tweak GLSL preview of the spot lamp to use shadow buffer also for ray shadows, to solve inconsistency with the sun lamp.
Fix T36190: Rigid Body bake to keyframes bakes wrong the rotations.

Make sure that quaternions are compatible.
Rigidbody: Add missing properties to "Copy Rigid Body Settings" operator
Math: Code cleanup

Remove stray #undef directives.
Code Cleanup: py script float comparisons
CMake: Fix info message for Cycles standalone.
install_deps.sh: Fix output conf for CMake (specifying root dirs for OIIO/OCIO is not needed when you use default path, but mandatory otherwise, simpler to always give them).

Spotted by dingto on IRC, thanks!
Make it possible to hide/unhide a node during node transform operations.
During drag the H key can be used to toggle the hide flag of the selected nodes.
This makes it easier to 'attach' nodes to available links in narrow places.
Send sequencer render context as const pointer rather than as value

No functional changes just creepy to send rather huge structure by value.
Increase maximum allowed amount of points for Splines in both U and V directions

Increase the maximum allowed amount of points in a spline from currently 32,767 (short) to 2,147,483,647 (int).
Change variables that get assigned the value from pntsu/pntsv to int type all over the codebase.
Change function parameters that previously passed the count as short to int type as well.

(because https://developer.blender.org/T38191)

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D212
Adding theme colors for tabs.

This adds theme colors for tabs, allowing better user control over the style. In particular this helps address issues with transparent regions and/or dark themes. The previously interpolated colors made it difficult to get a good balance of colors with many theme styles.

In addition, this updates the default theme to set the 3D View toolbar background color to opaque, rather than transparent.
Fix merge conflict with BF/master