fix percent escape not working when not at the beginning of the line

Fixed parsing issue where attempting to render a single percent sign ``%``
using an escaped percent ``%%`` would not function correctly if the escaped
percent were not the first character on a line.  Pull request courtesy Hai
Zhu.

Fixes: #323
Closes: #383
Pull-request: https://github.com/sqlalchemy/mako/pull/383
Pull-request-sha: ab8e74756d1ddfae6584854b2765e3706ba87ad5

Change-Id: I3c494222443320e3681758e3892f44cf7748fe5f
5 files changed