Some contracts for Distribution.
Unifying error handling.
Fixed error messages.
Various doc comments.
Other doc changes for TRandom.
Moved extension methods to a single class.