Add .insert() and .insert_char() methods to ~str.
extra: Remove condition from semver
Don't attempt duplicate outputs

This ends up causing weird errors like those seen in #11346

Closes #11346
Register new snapshots
Fix formatting of some code blocks in pdf docs

Code blocks apparently need to be surrounded by whitespace to be output
correctly when generating pdfs
Add lint for unnecessary casts
Remove some unnecessary type casts

Conflicts:
	src/librustc/middle/lint.rs
auto merge of #10826 : SimonSapin/rust/str-insert, r=brson

I could not run the tests because of unrelated building issue, sorry about that.
Support arbitrary stdout/stderr/logger handles

This will allow capturing of common things like logging messages, stdout prints
(using stdio println), and failure messages (printed to stderr).  Any new prints
added to libstd should be funneled through these task handles to allow capture
as well.

Additionally, this commit redirects logging back through a `Logger` trait so the
log level can be usefully consumed by an arbitrary logger.

This commit also introduces methods to set the task-local stdout handles:

* std::io::stdio::set_stdout
* std::io::stdio::set_stderr
* std::io::logging::set_logger

These methods all return the previous logger just in case it needs to be used
for inspection.

I plan on using this infrastructure for extra::test soon, but we don't quite
have the primitives that I'd like to use for it, so it doesn't migrate
extra::test at this time.

Closes #6369
First phase of migrating the wiki to the internal docs #11078
rust_version.html is a HTML_DEPS and every html has it as dependecy
Use the full version string for the windows installer exe
Delete the installer exe when cleaning
auto merge of #11123 : alan-andrade/rust/move_wiki_to_internal_docs, r=brson

This is not done yet but I'm posting it to get feedback.

The wiki has a ton of different tutorials/manuals/faq and so forth. Instead of migrating all of them right now, I just migrated the following:

* The general main wiki page
* Language FAQ
* Project FAQ

If this feels reasonable, please comment so that I can continue with confidence.
More 0.9 release notes
Update AUTHORS.txt
auto merge of #11354 : brson/rust/versionwin, r=alexcrichton

The makefiles and the windows installer disagree on the name of this file. In practical terms this change only means that the '-pre' installers will be named 'rust-0.9-pre-install.exe' instead 'rust-0.9-install.exe'.
Don't read forever on a file descriptor

Similarly to the recent commit to do this for networking, there's no reason that
a read on a file descriptor should continue reading until the entire buffer is
full. This makes sense when dealing with literal files, but when dealing with
things like stdin this doesn't make sense.
Added in Clone/TotalEq/TotalOrd/ToStr traits to all parts of btree.
Equals is now compact and uses vec's equals method.  Cmp compares
all elements on branches and leaves (Nodes).
auto merge of #11356 : brson/rust/0.9relnotes, r=alexcrichton