Update random.d

fix wrong usage in doc example (Random gen(unpredictableSeed)).
Update random.d

fixed spacing
Implement issue# 10314.

This moves std.traits.unsigned to std.conv and adds std.conv.signed,
since for some reason, we have std.traits.unsigned but do not have
std.traits.signed.
Ensure adequate code coverage from std.random.RandomSample unittests.

The old unittests were missing coverage of large sections of
RandomSample.skip() because the ratios of sample size to source size
were such that Algorithm A was always being chosen over Algorithm D.

The new unittests fix this and also extend coverage to a number of
other areas previously not addressed.  There are also currently-failing
tests commented out with version(none) that can be used to verify
future bugfixes and improvements.

A few lines in skip() remain uncovered simply because they depend on
runtime conditions that are extremely rare.
Complete code coverage for Xorshift unittests.

Unittests for Xorshift were previously failing to cover the
constructor, and the .seed(), .save and .opEquals() methods.
Complete non-static code coverage for LinearCongruentialEngine unittests.

Unittests for LinearCongruentialEngine were previously missing the
constructor and the .save and .opEquals() methods.

Code coverage analysis still fails to pick up on the static methods
and the contents of a static if scope in lines 374-382 of .popFront().
Unittest for MersenneTwisterEngine .save.
Remove superflous assert(false) and return statements.
Many asserts in std.random can be made static.
Unittesting uriLength and emailLength

Previously untested. Pushes code coverage from 57% to 79%.
Remove debug printfs from std/uri
Style fixes in std/uri

- indentation within blocks
- braces on their own lines
Deglobalize default threshold value, and fix initialization of threshold variable.
Merge pull request #1357 from WebDrake/random-testcoverage

 Issue 10426 - Improve code coverage of std.random unittests
Fix Refcounted docs - refCountedEnsureInitialized and refCountedIsInitialized did not exist.
Merge pull request #1379 from AndrejMitrovic/FixupRefcountDocs

[trivial] Fix Refcounted docs
Call thisTid to initialize first thread's message box, bypassing checks against setting thread-local variables from a shared static constructor.
Merge pull request #1369 from AndrejMitrovic/IsemailFix

Deglobalize default threshold value, and fix initialization of threshold variable
Merge pull request #1376 from yebblies/issue4923

initialize first thread's message box in a normal static ctor, to work around requirement that thread-local variables cannot be set from a shared static constructor.
Fix Issue 10517 - readln(Char)(Char[] buf) accepts non-mutable buffers

Also templatizes a global readln