Many changes from ptha, auxpar, and topotools branches

Changes in particular to:
copy aux arrays to avoid recomputing topo,
changes to fgmax routines
changes to many topotools and dtopotools.

Fortran code seems to be ready for 5.2.0 release.
Python codes could still use some work.