Expose measure number and repeat list to plugins

Needed for my plugin Repeat list (http://musescore.org/fr/project/repeatlist).
Yes, it was me coming up with the idea of a gotoMeasure (and it is Schmitz, not Smith ;-))