Support <q> and <bdo> tags.

These are allowed in wikitext.  (See bug 51081.)

Change-Id: Ia581765947c1cfe487d56a78a8a4e7d6f18f8d6b
Merge "Support <q> and <bdo> tags."