Expose measure number and repeat list to plugins

Needed for my plugin Repeat list (http://musescore.org/fr/project/repeatlist).
Yes, both are 0 based. Okay, I'll change the variable name. But, from what I see in my Repeat List dialog (and dump with console log), it's the same no! 
I can use it the measure number and use it in the gotoMeasure and I get the right measure.