allow test cases to safely modify controller class by making it unique p...

I believe the order related problems running the tests in rails 4.2 are due to test cases modifying the controller class.  This pull request creates a different controller class per test case, although I did have to define `name` to make this work (because it appears to be hard to dynmically create controller classes with a known name at the time that inherited resources as initialized).  An alternative might have been to just modify the singleton class in the testcases, but I think that's more confusing.