Fix for long-type record IDs in current web2py.
Fix unit test for latest DAL interpretation of .contains()