Cleanup: Remove SD_BSDF_GLOSSY flag, unused.
mathutils.kdtree: fix docstrings
SCons: Remove duplicate PLATFORM_LINKFLAGS from makesdna and makesrna

Hopefully it'll fix "anonymous version tag cannot be combined with other version"
compilation error.
Bugfix T42661: shortcut "." and "," for changing pivot center don't work on Graph Editor
Cycles: Fix typo on graphiz graph dumper
Cycles: Remove dynamic library helper files

They were only needed for CUDA wrangler. Since we've switched to CUEW
this utility functions are no longer needed.
Fix T42638: Roll angle inconsistent flip in edit mode.

Basically, `angle_compat_rad()` was completely broken -
example of result it could produce:

| new angle | compat angle |    result
| -0.000000 |   3.141593   | -> 3.141593

... Where 0.0 (or 2 * PI) would be expected!
SCons: Proper solution for local symbols map

Configuration used to override the link flags, it better restore them
once the configuration is done.
Fix T42647, vertex and weight painting mode do not display solid shaded
when VBOs is off.
Fix color tweaking in vertex painting not getting an undo push (would
cause color reset between strokes)
Fix T42660 snapping not working nicely on graph editor.

Basically, get the grid increments and reuse them when snapping. System
is slightly crappy here, we should calculate those factors only once,
but leaving as todo for later.
Fix T42662 hide unselected does not reveal selected.

Not sure if this is a bugfix exactly but should help the gooseberry team
with their workflow.
Fix T42639, editcurve flags not getting restored on undo.

Error here could be reproduced by tweaking curve properties such as
2d-3d or fill type and undoing.
Fix T42622, environment texture GLSL result different from rendering.

Also included mirror ball shader, which was missing.
Cleanup: ints/shorts -> bool.
Compsitor: White space cleanup
Task scheduler: Add an option to limit number of threads per pool

This way we can have scheduler capable of scheduling tasks on all the CPUs
but in the same time we can limit tasks like baking (in the future) to use
no more than given number of threads.
Fix T42421: HDR reader could easily read past buffer (truncated HDR files e.g.) and segfault.

Now readers get an 'mem_eof' guard pointer, and they abort in case they try to go past it.
Bugfix T42648: Invert Selection operator is not working for animation channels

The wrong selection mode was being used/passed to operators.
Bugfix T41527: Animations of world texture properties invisible in anim editors

Was caused by a typo - "items" was used in place of "tmp_items", causing animation
in the texture to get ignored if nothing else was present