Change dump() signatures to take IceCfg instead of IceOstream.
Reformat.
Remove most unnecessary Str.Cfg accesses.

This is in preparation for removing IceOstream::Cfg.