Added __format__() method to various classes.
Reimplemented iotools.f() in terms of format().
Updated musicexpressiontools imports.