Add dataset generation and general property system.
Make unit tests pass after last commit.
cd20.models.new_ds_id: update so multiple databases can use same data dir
models.CD: Add generation system
Add @getmodel decorator, update view boilerplate
Fix datasets not being listed after a recent change

- Also add unit test to detect it.