Added fromInteger to core language.

This also required adding a Typeable class to generate type annotation for
FromInteger constructor.