std::rand: add MT19937 and MT19937-64.

Implementations of the 32- and 64-bit variants of the Mersenne Twister
RNG algorithm. C++11 mandates "mersenne_twister_engine" in its random
number library, so this is just imitating that.