Changed data definition so that constraints are actually enforced

-I noticed the database still did not enforce the foreign key
constraints. Turned out that this depended on which constraint syntax
is used. Now the constraints (except for the Convicted table) are
enforced. Obviously this new insight makes the old syntax conventions I
proposed obsolete.
-the dataTestSet needed to be fixed to the new model, there were a few
mistakes in there, and turns out 0 ids cannot be used with
auto_increment