Refactor Bulk middleware to handle long running requests

Change-Id: I8ea0ff86518d453597faae44ec3918298e2d5147
releasing swift 1.8.1~rax3

Change-Id: Ibae4574fb510f7d0cdd373ce7906a4d299272d3c