integrate monkey-patches from rails_xss/action_view
ActiveSupport::SafeBuffer from upstream rails 3.2
ActionView::OutputBuffer and Erubis handler from rails 3.2