Merge pull request #1824 from 9rnsr/fix_imports

fix more import insufficiency
fix Issue 11838 - Missing emplace import for std.range.zip?
Remove imports enclising by `version(unittest)`

Instead add local imports more.