(bug 71109) Fix broken Special:EditWatchlist

On enwiki, there was some invalid value in watchlist table.
2 people are watching some title called "The_Washington_&_Jefferson_College_Review"
in namespace 2600 (topic namespace)

That namespace should only have topic ids. On that assumption, we didn't
properly check if that is in fact the case, and created a UUID object
from an incorrect value, causing an exception.

Bug: 71109
Change-Id: I211559979af9b900dbcecb82ac2f4c9bf691f6f8
Properly escape topic title in compare-post-revisions

Passing a topic title content directly into l10n results in the
topic title receiving magic word/template substitution.  Output
and use the l10n safe topic-of-post and post-of-summary properties
instead.

Change-Id: I12d07846d9f1c037b059c929e3a6a660dd5aacb2
(cherry picked from commit c864b9ffaff97e2a69d504b719683398fcba91bb)
Merge "(bug 71109) Fix broken Special:EditWatchlist" into wmf/1.24wmf22