A simple wrap of forever-monitor, in Carcass style.
This is only meant to be used in tests where you need to start and stop some scripts easily. For production, use forever or equivalent.
In a Mocha test:
var Monitor = ;;
var monitor = new Monitor([id])
ID is optional; defaults to a random string.
Add an item
Returns the monitor itself so it's chain-able.
options is an object and will be used to instantiate a
options.script as the first argument, and the others as the second. See forever-monitor's document for details.
Can be used multiple times to add multiple items.
Starts all the items; returns the monitor itself.
Closes (stops) all the items; returns the monitor itself.