Added ability to use versioning with bulk_index().

Hi, I needed to take advantage of version='external' AND bulk indexing. I was not able to find a way to do this without making the change in this pull request.