std.typecons: remake toString to template, clean module imports

update datetime unittests
Merge pull request #2728 from 9il/typecons

std.typecons: remake toString to template, clean module imports