Expose measure number and repeat list to plugins

Needed for my plugin Repeat list (http://musescore.org/fr/project/repeatlist).
No problem, they both stem from that profession...
My idea was to have a method to address and jump to a measure directly from within a plugin.