Add tables for stats and levels

This will eventually be replacing the primary_stats table.
Add a trigger on inserting new stats

This will create a new entry in the levels table and supply
the new stats entry with the proper id.
Return the value from the __set() function