Change the external service logging output to use STDOUT as a module name for the stdout stream and to use STDERR as a module name for the stderr stream with the OS pid as line number. Make sure a CloudI Service API call to service_remove waits for the service processes to terminate before removing the application dependencies (bugfix).