JDatabaseQueryPostgresqlTest::mockEscape

A mock callback for the database escape method.

We use this method to ensure that JDatabaseQuery's escape method uses the the database object's escape method.