MASSIVE performance increase of SQL data source

- Runs SQL queries in a separate thread every 5 ticks. Prevents connections to database blocking the main thread.
- Store references to TownBlocks within the TownBlocks table rather than in a giant string

Tested working.

Note that code has not been added to automatically update a users database.