Ability to programmatically override process termination for CI mode

For the cases when Testem is running inside another toolbelt, it's inappropriate to directly shut process down. This PR adds ability to override finalization routine with custom JS callback. With this it's now possible to execute a pack of Testem runs with different configurations from one process.