remove unnecessary return from void set_generator
pass caffe rng ref into variate_generator constructor instead of having
caffe rng adopt its state
remove now unused set_generator and related code
Merge pull request #336 from jeffdonahue/fix-rng-segfault

Fix RNG segfault related to #297