Add more unit tests for random deviates, and fix a couple bugs discovered
(#306)
Merge branch '#306' of github.com:GalSim-developers/GalSim into #306