Composer++, class assignment

This is the point 2.a in my list of thoughts for the future of Composer: class assignment to the selection. I trashed the patch in bug 16255 and rewrote it in a much better way. Here is the first screenshot.

Stay tuned!