Refreshing after green so also recovering replicas will be refreshed.
Added `_name` support to queries.

This extends the named filter support from only filters to also queries.

Closes #3581
ElasticsearchAssertions.assertHitCount also checks shard failures