Mark indexes as failed by writing a flag document on that matter
Failed indexes can be reset
Store the actual exception info
Don't index broken indexes
Tests added to prevent regressions over broken index functionality
Cleaned the scratch pad
Functionality to mark broken indexes as such