added PreparedStatementEmulator
escape params in PreparedStatementEmulator
orm: added EMULATE_PREPARES option