Minor changes to the Node version of the AST Dump code

1) AstDumpToNode supports writing to a named unix file or to FILE*.

   The class destructor includes safety code to close a file that
   is still open but this was being triggered even when an open FILE*
   had been handed to the logger.

   Also tweaked some formatting for legibility.


2) Added a missing space between each member of a list of flags


Compiled:   STD on clang
Tested:     Observed in use while looking at a path through resolve()
Reviewed:   None



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@23601 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Update futures and .bad files due to r23558

Additional string copy data leaked:
- studies/shootout/pidigits/bradc/pidigits-pretty2.bad

Line numbers changed in ChapelArray.chpl (if we don't get a better
solution to the changing line number issue and this continues to be a
problem, suggest removing this .bad file):
- types/records/const-checking/scenario-3-assoc-dom-of-record-with-const-fld.bad

Change string args to c_string for compilerWarning:
- users/vass/type-tests.todo.chpl

Cast c_string literal return value to string (future committed in
r23559 to address this issue):
- users/vass/dont-eval-dot-type.chpl



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@23602 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
Minor mod to avoid warnings if CHPL_HOME not set

[reviewed by Kyle]

Sung pointed out today that we're getting warnings now when
building with CHPL_HOME unset, which is how we suggest users
build.  This is a simple fix to make that go away.  Kyle's
larger rework of the chplenv/ scripts from Perl to Python
will also fix this, but that's still a few days away.



git-svn-id: http://svn.code.sf.net/p/chapel/code/trunk@23603 3a8e244f-b0f2-452b-bcba-4c88e055c3ca