Add possibility to change number of bounces in ray tracing demo.
Also increased performance by precomputing random values once and
reusing it all around a shader invocation.
Also improved quality of random sampling functions.
Merge remote-tracking branch 'upstream/master' into travis-linux-x86