Clean out terms.pm

Basically, move code for %*ENV, @*INC, $*ARGFILES into separate file (as I
feel these may become require a class of their own in the future).  Move
other PROCESS::<*> variables into a separate file.  Adjust Makefiles
accordingly.  This should make it easier to adapt things in the future.