math/rand: add example / regression test
math/rand: add example / regression test

This makes sure the outputs do not change for a fixed seed.
See also https://codereview.appspot.com/6905049.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/6907048

firebitsbr/golang-old,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang,firebitsbr/golang-old,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang,wesolows/golang,wesolows/golang-old,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang-old,wesolows/golang-old,firebitsbr/golang-old,wesolows/golang,wesolows/golang,wesolows/golang,wesolows/golang,firebitsbr/golang-old