Revert postgres-workaround for non-text pattern matching: fixed in web2py trunk with
implicit CAST before LIKE (and currently only one known use-case anyway).
Fix unit tests for non-text pattern matching.