Cherry-picking commits from master to 2.066 branch

All of commits cherry-picked from [current master branch](https://github.com/D-Programming-Language/phobos/commit/592eb10d3fcf2150fddc06cb2320b41fec5ed9fa).