optimize ES reindexing by using bulk (bug 1013874)

fixes [bug 1013874](https://bugzilla.mozilla.org/show_bug.cgi?id=1013874)
No ready for review :)