Expose measure number and repeat list to plugins

Needed for my plugin Repeat list (http://musescore.org/fr/project/repeatlist).
Oh, I'm sorry about misspelling you name! SO for the gotoMeasure, what was your interest?  What usage do you have in mind?