Support reading DB_TYPE_REVISION for SQLite backend
Add test2 object to the database test suite for testing objects with revisions.
Cleared out some double value reset in test_get_by_id() and test_get_by_name().
Rework ID check to not be object specific.
Add first read test for the test2 object with revision.