Similar in range

This PR adds a new functionality: list selection of all elements of the same type that are in the current range selection.

I have tested the behavior for the following elements:
* spanner
* arpeggio
* chord symbol
* dynamic
* figured bass
* fingering
* fretboard diagram
* glissando
* lyrics
* tremolo

There are many places in the code where we need an element's tick. The example would be a tick of a note, we need to go up via parent until we get to the segment to get the tick. 

I agree with the fact that not all elements should have a tick method. I have tried to create a new class just for this reason and make most elements to inherit from this class, but this caused to many changes in the current code, so I decided to take it one step at a time.