Arithmetic module split

Ari module was too big, but fortunately the components are not very inter-dependent. I moved the table stuff, binary stuff, and all the testing into separate files, and each of them is easy to read now. If only rust issue 3429 is fixed, I'd be able to simplify the table sub-module significantly.