Updated model to avoid diamond dependency (row no longer links
directly to import).

Added unique constraint for dataset/stamp in import, so that we can
refer to an import safely by its timestamp.