Remove the old integer/rational classes.

All tests compile, a few failures to fix yet. Also, add the istream operators
for integer, rational and real.