Loosen dependency on actionpack

We need actionpack but there is no need to require Rails 3 as it works just fine with Rails 2.