Added string_out_stream.
string-returning overload of format.
Additional format fixes.