JS: provide a separate 'delete' command for use by the user interface
JS: provide a separate 'delete' command for use by the user interface

This method allows the user interface to carry out additional actions
associated with deleting an object without corrupting the low-level 'kill'
method.

Signed-off-by: Harry King <409587b9e6671aa0763646191d292852dc49a658@gmail.com>

jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim