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

~~Depends on #2729~~