add std.internal.scopebuffer
Merge pull request #1911 from WalterBright/scopebuffer

add std.internal.scopebuffer