Replaces lists by ranges in grace lib.c

Also fixes bug in substringFrom()to that manifested when
called with From argument of 0.
Tests for inheritance at the top level.

Various changes to try to force the creation of the .gct file
for compiled modules, and the import of that file when the
module is imported.

This still doesn’t work smoothly.  To make the tests run,
the Makefile forces compilation of printc before the tests.