New module chaser, for better dependency checking and rebuilding
Now treats each source file separately, building a tree of dependencies,
and rebuilding if any dependencies have updated.
In particular, this fixes a problem with stale definitions hanging around
when building packages, and has required some fixes to imports in the
library.

Will need a 'make relib'.