[ci skip] Fixes typos in section 2.7 "Rails Html Sanitizer", adds content to section 2.8 "Rails DOM Testing"
Merge pull request #17431 from hbriggs/upgrade_guide_2.7_2.8

Update 2.7 & 2.8 of upgrading_ruby_on_rails.md [ci skip]