Improvement and QuantLib.

1) Refactored some of the PRNG code.
2) Added support for QuantLib library to build (optional).
3) Added QuantLib's MT19937.