Complete rewrite of cookie handler (closes #32, closes #12)

- Put cookies in directories
- Split up cookie parts using Properties file
- Respect cookie expiry
- Delete session cookies when the game is closed