Use full parameters in scapi scripts; include misssing header

The current scapi and scapic scripts use $1 so that the first argument (i.e., the name of the class) is passed onto Java. This means that no command-line arguments can be given to the Java programs themselves. By changing $1 to $@, all additional command-line arguments are passed on to the Java program (e.g. scapi test "Argument to test")

On my Linux system, Dlog.c fails to compile because memcpy is not defined. Including <string.h> fixes this.