Test with multiple versions of rails

Allows for building and testing against arbitrary versions of rails.

* Ensures dummy app compatibility with 3.1.x, 3.2.x, 4.0.x at present. 
* We will also build against head but tolerate failures.