Change director exception signal functions to be named uniquely including module

When multiple modules are in use, DirectorException signal function
may be defined in more than one, so must be unique - add $module to name.
Update csharp.cxx, defined macros, and tests.

Change macros to take a signal function name, to allow users to
define however desired.  Need to document reasonable naming approaches.