rustdoc: Inline reexported items if possible

Fixes #13414 and possibly #13045. Some examples to look at: `std::io`, `std::prelude`, `libc`. (Sorry, no tests yet!)

There are some known exceptions to inlining (e.g. statics), so they are preserved to the reexport section as much as possible. It would be desirable to remove such exceptions in the future.

## Some mandatory screenshots

From `std::io`:

![std-io](https://cloud.githubusercontent.com/assets/323836/2797517/9d81732c-cc30-11e3-8a25-ad3b94eeea9c.png)

From `std::prelude` (this would completely inline every item except for `std::gc::GC`, which is a static):

![std-prelude](https://cloud.githubusercontent.com/assets/323836/2797525/c82018fe-cc30-11e3-8939-e325175ddda9.png)