move default template definition and enable wstreambuf definition
Fix char_traits for use with wchar_t.
Implement tests to try both string and wstring.