Fix T39953:  Float data images display trash in image editor

Was a failure of optimization trick.
Fix T39931: Crash generating thumbnails (error in escaping)
Frame cursor color was missing for the image editor
Changes to cache line display in image editor

Only show it when having active mask or when current image
is a sequence or movie.
Report when saving images and text

also fix bug where text saving would strip last newline
Change naming slightly, it conflicts with DrawText function define on
windows on MinGW
Fix T38245: Render slot buffer gets deleted in compositor when input is an image

This was more like a TODO than a bug, but wasn't difficult to support.

Need to backup image slots before doing re-compo in nodes editor.

If something breaks, lease poke me!
Fix T39795: Crash when duplicate f-curve keyframe, individual origins

Seems to be just missing case for center point initialization in td.

Thanks Campbell for review!
Remove hard coded Python version for scons

note: this isn't best way of extracting version without '.'
Python: move to version 3.4x on all platforms
Fix T35176: Python fails with blend files from non-ASCII paths

Thanks to Tamito for updating the patch to support Freestyle!
Cycles CUDA: make CUDA toolkit 6.0 the official supported version.

This also updates the configurations to build kernels for compute capability
5.0 cards, when using and older CUDA toolkit version this will be skipped.

Also includes tweaks to improve performance with this version:
* Increase max registers on sm_30, sm_35 and sm_50
* No longer use texture storage on sm_30
Windows: Disable Numpy for now, we miss the libs for Python 3.4.

Also make the flag WITH_BF_PYTHON_INSTALL_NUMPY flag actually work on Windows.
Fix T39965: Sequencer do not sync cycles strips

The was actually caused by the way how Cycles uses objects
layers. It's not possible to rely on the fact that layers
are flushed from Base to Object. It's only valid when rendering
active scene.

Now made it so layers are used from the base.
Code cleanup: remove unused includes

Opted to keep includes if they are used indirectly (even if removing is possible).
Code cleanup: remove unused header
Fix T39974: Popups lead to crash if 'UNDO' isn't set

This isn't supported, raise an error instead
Fix for copy_object_pose incrementing custom user twice
Warning cleanup: signed/unsigned compare

also remove redundant loop in BKE_pose_copy_data
Fix T39969: Make single user object looses custom-tx-bone