Add more null, remove blank arguments

Signed-off-by: Byron Ruth <b@devel.io>
Set database name on creation since it is static

The stage of the archive is defined by the state it is in. Having the
database name set does not imply the database is staged.

Signed-off-by: Byron Ruth <b@devel.io>
Improve validation check of file by attempting to open

Previously, the test only checked if the file existed.

Signed-off-by: Byron Ruth <b@devel.io>
Add assertion of data in staging test

Signed-off-by: Byron Ruth <b@devel.io>
Fix file_digest and is_utf8 chunk reading

Signed-off-by: Byron Ruth <b@devel.io>
Replace stdout message to debug logging

Signed-off-by: Byron Ruth <b@devel.io>
Add option to db.create to force drop if it exists

Signed-off-by: Byron Ruth <b@devel.io>
Implement DataArchive push, change_state

The `change_state` method locks the row of the archive to ensure it is
not changed by other processes. In addition, it takes an `expected`
state which will be asserted before transitioning to the new state.

Signed-off-by: Byron Ruth <b@devel.io>
Improve various log messages and formatting

Signed-off-by: Byron Ruth <b@devel.io>
Add LOGGING and custom DATABASE_ROUTERS in test settings

The WarehouseRouter was removed for testing purposes to it is
created to mimic the staging schema.

Signed-off-by: Byron Ruth <b@devel.io>
Update test data archive1 to be a more complete example

Signed-off-by: Byron Ruth <b@devel.io>
Add iPython notebook of DCC ETL workflow

Signed-off-by: Byron Ruth <b@devel.io>