Fixed #38 (String8 now can remove BOMs); various code cleanups