Simplified find_overusage_indices, added tests

Note that one drawback is that we are no longer getting log warnings
about closed indices and them causing inaccuracies in the total count.
Tests for _close_index
tests for _delete_index
Tests for _bloom_index
Test _optimize_index
Add naive tests for get_segmentcount
Make sure the index actions aren't reporting skip