rustdoc: Fix up some bugs with bounds

This PR adds support in rustdoc for properly naming lifetimes in bounds, instead of just showing `'static` for everything. It also adds support for unboxed function sugar bounds, which were also previously rendered as `'static`.
As I said above, it's ok to return some dummy bound here.