Add support for Rails 4, including push_tags and pop_tags