Expose measure number and repeat list to plugins

Needed for my plugin Repeat list (http://musescore.org/fr/project/repeatlist).
I also need a way to jump to a measure using a plugin. The problem we're facing is that presently, we always create a new cursor to access the score. We don't have access the to actual cursor in the current scoreview. 

Personally, I'd like to be able to click on a measure in my Repeat list plugin, and have the cursor in the active scoreview move to that measure. But I don't know how to get access to the real cursor.