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

Patch for SOLR-6902