Add "held/waiting for" annotations

This adds "waiting for" and "held for" annotations to the totem info. Stores the info in a per-totem hash.