SERVER-9038 Shell Batch API implementation

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>