Merge pull request #1372 from 9rnsr/fix_imports

More fix for issue 313 & 314
Remained one for 313 & 314
Merge pull request #1370 from AndrejMitrovic/Fix10468

(Regression 2.063) - Issue 10468 - Remove ref hardcoded from parameter type in lockstep
Merge pull request #1373 from 9rnsr/fix_imports

Remained one for 313 & 314
Tabulation in line 48 causes make to fail.
Some version of make (ie: cygwin) will evaluate it to ^\t$, hence issuing an error.
Tabs replaced by 4 spaces.
Merge pull request #1375 from Geod24/master

Fix simple makefile error
Merge pull request #1337 from 9rnsr/fix_attrs

Potentially @safe & pure formatting
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
Fix wchar/dchar issue

Just cause a file is nativelly treated as UTF16 (or something), doesn't mean you can iterate wchars.
Fix Issue 10510 - enforce should take any callable function without regard for calling conventions.
Merge pull request #1382 from AndrejMitrovic/Fix10510

Issue 10510 - enforce should take any callable function
Improve iteration scheme for wchar/dchar
Improve restraints for readln
Converted C-style array declarations to D-style