Correct item filtering and table initialization.
A nice repr for DBRef, very handy.
Make sure we commit the database creation and drop changes and reset known tables.
Update tests to work in pjpersist.