Fix #36146, Cycles SSS Shader Node - Scale Value Input Box - to sensitive. Changed the ui limit from 1,000,000 to 1,000. Not sure if such huge values are needed in some cases, but they can always be
entered explicitly, bypassing the ui limit.

NOTE: this only applies to newly added nodes. For legacy reasons the limit values are stored directly in each socket, so changing them for existing nodes would require a do_versions, seems unnecessary
for such a minor change.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59031 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / Non-Progressive integrator:
* Non-Progressive integrator is now available on the GPU (CUDA, sm_20 and above). 

Implementation details:
* kernel_path_trace() has been split up into two functions:
kernel_path_trace_non_progressive() and kernel_path_trace_progressive().

* We compile two CUDA kernel entry functions (in kernel.cu) for the two integrators, they are still inside one .cubin file but due to the kernel separation there should be no performance problem. I tested with the BMW file on my Geforce 540M and the render times were the same for 100 samples (1.57 min in my case).

This is part of my GSoC project, SVN merge of r59032 + manual merge of UI changes for this from my branch. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59034 954f8c5b-7b00-dc11-b283-0030488c597c
OpenGL VBO's: free VBO pool before redraw, otherwise this just holds onto memory
after objects are deleted until another big object is added. There's no good reason
to do this, or to think that our pool is somehow much faster than using the OpenGL
API to allocate and free buffers.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59035 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles passes UI panel to line up better.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59036 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles not rendering with 1x1 resolution anymore, not so common for users
but nice for debugging.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59037 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles:
* GPU kernel can now be compiled without __NON_PROGRESSIVE__ again, was broken after my last commit. Also add a check for have_error(), in case the GPU kernel comes without Non-Progressive, to avoid a crash.

* Don't compile progressive kernel twice on CPU, if __NON_PROGRESSIVE__ would be disabled there.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59039 954f8c5b-7b00-dc11-b283-0030488c597c