Use JUnit rules instead of inheritance with distributed Solr tests to allow for multiple tests without the same class

Patch for SOLR-6902
Maybe add a reference to the annotations and explain why one is preferred over the other for the benefit of future test writers.