Initial implementation of basic_stringbuf.
Some on going work in documenting other ios functions.