Two small fixes in the sfPropelPlugin for newer PHP versions

I'v patched the sfPropelPlugin for newer versions of PHP that have deprecated mysql_escape_string