Modified Isolator API for prepare commands.

Isolators can return optional commands that are run in the child before
exec'ing the executor.

Review: https://reviews.apache.org/r/20026