replaced OpXToMulti subclassing

While debugging ilastik/ilastik#93 I noticed that OpXToMulti is sub-classed a bunch of times, only to change the number of input slots. So I wrote a factory for it instead. I also refactored its methods to remove code duplication.