Remove `~str` from compiletest, librustuv, libfmt_macros, libserialize, libgetopts, and the docs

r? @alexcrichton