new functions in ly.duration

they can return base duration and scaling separately (but also multiplied together)