callgraph: make callgraph runnable with the current systemtap

- Move escaping of characters to the final stage of writing the launch script.
- Use --runtime=dyninst to work around missing return probes.
- Remove the use of probefunc() as it is not supported in dyninst mode.
- Replace the use of -o with redirecting the output as dyninst does not support -o.
- Update tests to expect the new command output format.
- Save actions:
  Organize imports.
  Add braces.
  Remove trailing white space.

This is a combination of two patches commited to master.
Reviewed here: https://git.eclipse.org/r/13654
and here: https://git.eclipse.org/r/13711

Change-Id: Id6ecafc94b745ad4a84d7484b47bb4270a9fa6ae
Reviewed-on: https://git.eclipse.org/r/13741
Tested-by: Hudson CI
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
IP-Clean: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
9 files changed