Event detection in shc_lv_integrate()

Added simple support for detection of multiple events in a manner similar to Matlab's ODE suite (and SDETools). No interpolation or refinement (yet).

Also added onCleanup function to reset global or delete custom random stream.

Signed-off-by: Andrew D. Horchler <adh9@case.edu>