Update 2.7 & 2.8 of upgrading_ruby_on_rails.md

Fixes typos in section 2.7 "Rails Html Sanitizer", adds content to section 2.8 "Rails DOM Testing"