Added calling of end callback for detached processes.

Since processes are detached, their END_PROCESS event is not going
to be called, registered callbacks need to be called manually.
Switched to using temp files instead of -e option for debugging (ref #251).

This helps with passing parameters to launched processes.
Added handling of command line parameters (closes #251).
Added handling of command line parameters for love2d (ref #251).