rustdoc: Support associated types

Render associated types on traits and impls, and qualified paths in types.

r? @alexcrichton 
Could you reference https://github.com/rust-lang/rust/issues/18048 here as well?