Expose measure number and repeat list to plugins

Needed for my plugin Repeat list (http://musescore.org/fr/project/repeatlist).
The gotoMeasure() was asked by someone (Jojo-smith I think). But I don't need it personally. I can simply drop that part from my commit!