Bug 54946: Alternative solution for <pre> tokenization

This patch attempts to fix the same issue as
https://gerrit.wikimedia.org/r/#/c/87632/

It adds a nested_block_line production and uses that in a few places where
inlineline was used before.

Change-Id: Ie508dedaa8d23974689537ef656ee0c0837e382c