Introduce DataSet and change demo files to the new type system.
Update API unit tests.
Update Sparsity representation. Complete test of sparsity api.
test_api.py fixes.