Improved TempoInventory editing.

You can now type pairs like ...

    (Duration(1, 4), 170)

... to add a tempo to a tempo inventory.

Previously you had to type pairs like ...

    ((1, 4), 170)

... instead.