Added `raise_on_error` parameter when bulk indexing.
Merge pull request #49 from Sparrho/issue-48

Added `raise_on_error` parameter when bulk indexing.