Added support for Rails 4

Fixed issue with ActionView::Helpers::InstanceTag - wrong number of arguments error in Rails 4.