add ShareTrainedLayersWith method and use for test net in solver
Merge pull request #332 from jeffdonahue/share-trained-layers

add ShareTrainedLayersWith method and use for test net in solver
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