Fixed Endless Loop with two escaped single quotes \'\' inside a string.

This pull should fix this issue:
https://issues.jboss.org/browse/RAILO-2251

Thanks!