Support for Rails 4.0.0 final

Updated 'actionpack' dependency to work with Rails 4.0.0