Add selected-tracks scheme function

The selected-tracks function returns a list of all selected tracks.