Revamped rng's and seeding.

Made seeding actually work, so we can achieve reproducable runs. Can
also specifiy both a test seed, which controls the randomness on
constructing the test, and a vector seed, which controls the
randomness used for creating the vectors.