Index all the collections

Implement `Index` for `RingBuf`, `HashMap`, `TreeMap`, `SmallIntMap`, and `TrieMap`.

If there’s anything that I missed or should be removed, let me know.
Can these attributes be placed only on the items where they're needed -- looks like the `Index` implementation? That way we don't accidentally start sneaking in other deprecated items.