Changing the preference system from flatfile over to sqlite to fix
corruption of sav files and to see the limits of sqlite.
Adding a clean database file, including the sql needed to create sqlite database.
Outstanding issues should have been fixed and so it should be ready for testing now.
Quick fix where numbers weren't being sanitized properly.
...
rename players2_empty.sqlite to players2.sqlite
adjusting more settings that weren't properly getting sanitized or loaded.
...
quick fix to see if this fixes and issue where preferences were resaving and adjusting the SQL query to correctly select someone's ckey from the client table.
Removing automatic save if nonexistant.
Merge pull request #1556 from ririchiyo/preference_sqlite

Changing preference from flatfile to sqlite