Close file as soon as possible to avoid potential readlocks being kept too long. Might be enough for #415
check OPENSCAD_LIBRARIES first
renamed to setenv_mac-*
Removed a bunch of less useful tests
renamed dumptest files to .csg and added group headers
changed group headers to empty group headers

this became necessary because the batch editing in the last commit
didn't respect that an empty group is not group() { } but group();
trim precision in dumptest regressions

in order for them to work against openscad's .csg output, the number of
decimal places was reduced.
modify root modifier example now that the test program respects the root modifier

as the dumptests are now run from a full openscad, the root modifier is
respected by the test program too; reflectin that in the unit test
use openscad as a replacement for dumptest and echotest

the echotest and dumptest still contain hacks to keep the delta to the
original unit tests minimal; possibly, some of these changes will make
it into the openscad program, at which time they can go away from there.
trim precision from the echo tests

as it was done with dumptest before
drop cgalpngtest for openscad drop in replacement
drop cgalpngtest all together

replaced in CMakeLists.txt with direct openscad call, and duplicate
checks removed

cgalpngtest_text-search-test was left in the Heavy configuration,
resolving the ambiguity of it being heavy with cgalpngtest and not with
openscad-cgalpng (which does the same thing)
drop moduledumptest, use `openscad -o ${NAME}.ast`

src/openscad.cc code was copy/pasted from .csg section; some refactoring
might make things nicer, but i didn't dare change too much for lack of
language knowledge
make test_pretty_print.py work with .csg and .ast too

file results that were neither txt nor png used to be ignored silently;
now, unknown extensions produce errors, and csg and ast are known.
renamed csgtermtest to .term
ctest infrastructure for native .term tests
add .term output for CSG term export
switch opencsgtest to native binary
remove test binaries for cgsltest, csgtermtest and opencsgtest
normalize -nan and -0 in all output modes

having a stable output is not only relevant in testing, and with the
main binary being used for more tests, having those normalizations takes
load off the preparing scripts tests/{dumptest,echotest}