Import fraction code from mantigraphia.
Import fraction code from mantigraphia.

I probably need to gather these utility headers into a submodule or
something at some point. (Mainly bsd.h, alloc.h, frac.h.)

AltSysrq/praefectus,AltSysrq/praefectus