Making the rake file for tests easier to read.

I'm defining a new class which modularizes how the `rake test` tasks are defined and invoked. This should make the rake file much cleaner.