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

Patch for SOLR-6902
+1 This is a really good idea.