Game creation

I have refactored the database model to add the concept of team and invites.
I've also started the work on game moves.

Even I had a few tests to validate this and because there's quite a lot of changes this might need a really good review.