Rails hydra

At the time of this request we don't have any support for Rails 3.X in the client and rubycas-client-rails doesn't work with the latest version of the client gem. So to start the process of bringing Rails 3.x support (and incidentally Ruby 1.9..3) I began the process of moving the test infrastructure to using a dummy app. To maintain Rails 2.3 testability there were a lot of hacks that had to be done but most of the commits here only touch a few files so they should be easy to digest.