Get tests working for Rails 4.1.
Set proper rails dep.
Prepare for 1.0.5.