Allow db_value_set of size 0 and support tables with only primary key in SQLite.
Don't use reset function in from_result, instead free all text. This fixes the problem with some objects having text defaults and then unable to get result since field is already set.
Do not check for additional rows in get_by_id
Add script to generate tests for database objects and add the generated tests.