Added IMC support for adding assembly and refinery recipes.

I think we shouldn't dismantle API adding, since if i do a complete addon it'll be easier to use, than IMC.
Tested every thing, except different fluids in refinery, because of PS.

PS Is this just in NextGen buckets-machines behavior is broken? Or whole 1.7.2?