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
For now, my php 5.4 stopped complaining with this change. But indeed from 5.5+ we have another challenge and it should be ported to mysqli or PDO.