Pre-emptively escape page title

Haven't discovered a vector for this yet but it's stupid not to escape
this. Found this on #1156.
Merge pull request #1161 from gittip/escape-title

Pre-emptively escape page title