Added composers library and refactored *_sequences

A composer generates phrases (one measure long), optionally using other
input phrases as a guide.

The refactoring involved making generators into more useful iterators.