Deny all warnings by default in doc tests

Allow some common ones that are good for examples, however.
auto merge of #8067 : alexcrichton/rust/issue-3636, r=huonw

Allow some common ones that are good for examples, however.

Closes #3636