Use the value of the parsoid option for modes

Specific tests can now whitelist what modes to use if they're parsoid-only.
No more need to worry about html2html or html2wt in a lot of cases where we
test for the typeof or about attributes.

Change-Id: Iab2f13ec0ff4410dc812ac8a0c101d53dbdb3661