Preparing to migrate rewrite_meter() from timesignaturetools to mutator.

This commit asserts that the input to the function is always
a contiguous selection.
Migrated rewrite_meter() to mutator.