refactor: add index on FilteredMessageModel
This allows us to easily get the index of a message when drawing method arcs in DiagramView.
In the future, this will be used to draw arcs even when rows are not visible on the current view, and also to scroll to the associated row when on details view.
This seems to also improve the performance of the diagram a lot framerate-wise.
Edited by Dave Patrick