Code cleanup, use bit shifting for lamp flags.
fix T42046 Improved the option label for clarity
Libmv: Silence some warnings about C11 usage

This makes headers a bit less clean (with the anonymous structs
mainly and headers inclusion from another header.

Makes compilation with clang a bit less noisy.
Libmv: Add an option to disable schur specializations build-time

This way folks with few ram or those who wants to hack into Ceres
code might compile Blender much faster.
Libmv: Remove old workaround for 10.5 hash tables

We on'don't really support 10.5 anymore for my knowledge and in any case
the defined symbol was never checked in the sources, so this workaround
was basically doing nothing for quite some time now.
Compositor: Simplify logic in keying blur operation
Compositor: Reduce number of int<->float conversions in keying screen operation
Cleanup: indentation
Freestyle: View map caching.

New render layer option named "View map cache" is added to reuse a
previously computed view map for subsequent rendering.  The cache is
automatically updated when the mesh geometry of the input 3D scene has
been changed.

This functionality offers a major performance boost for Freestyle
animation rendering when camera-space mesh geometry is static, as well
as for repeated still renders with updates of line stylization options.

Although the "View map cache" toggle is a render layer option, the cache
memory is shared by all render layers and scenes.  This means that if
Freestyle is used for two or more render layers (possibly in different
scenes through the compositor), then the cached view map for one render
layer is replaced by a new view map for another render layer and hence
no performance gain is expected.
Freestyle: Finer memory statistics with CXX_GUARDEDALLOC.
Freestyle: Fix for destructive view map modifications during chaining operations.

The view map is mostly treated as a read-only data structure by line stylization
operations (i.e., selection, chaining, splitting, sorting and stroke creation).  The
only exception is the chaining operation in some cases where insertion of extra
FEdge objects is necessary to ensure the continuity of underlying FEdges from
which a chain is constructed.

The present revision addresses the removal of extra FEdges so to keep the view
map clean and suitable for reuse in subsequent render frames.
Freestyle: Fix for a compiler failure in makesrna.
Fix freestyle/bplayer build (usual stub stuff).
Fix for regression on bevel material: need do_version support for earlier files.
Fix T42033 UVs shown while rendering in texture paint mode.

This should be included in final release build.
Fix T42008: Dragging and packing issue about new blank image

The issue was caused by the fact that we never used to store the
generated image color in DNA, so image reload will loose this
information.

Now we store the color in DNA, making ti so re-loading the image
will preserve it's generated color.

It is now also possible to change generated image color using the
color swatch in image properties after the image was created.
Freestyle: For until c++11 is accepted only static members could b initialized in-lined
Fix T42030: Grabbing the whole mask interfere with grabbing individual curve

This fix is for the final 2.72 release.
Fix T42049: Crash exiting /w GL1.1
Fix error in last commit