Update Database to handle levels

I've decided that once you get to a level, you restart from that level.
Having to start from the beginning is a bit too rage inducing.

Personally... I still haven't beaten level 1 yet... I think it should have been about a minute shorter.
But oh well.

Players can go back to an earlier level by providing a "level" field to index.py

For the purposes of scoring, I am just going to reset the runtime whenever the player
advances a level. The level they are at is recorded. Need to update the High Scores table, but whatever.

I also did some fancy sanity checking in stats.py to make it harder for someone to
manipulate the database. It's still possible. But harder. Take that!
Add helper scripts

They are trivial but useful