Compatibility with Ruby 2.0 (including smart redirects fix)

Original pull request: https://github.com/josevalim/inherited_resources/pull/262

Fixed same problem with "respond_to?" for smart redirects correct work.