support for global options trickling down as well as commands that invoke drupal's batch_api

Batch_api currently can’t be tested for but we can support commands as
requests come in. this only happens when cooking a complex command that
involves batch processing.