MySQL re-write. SQLite support + fallback.

This is probably too different for you to accept. However, it's added support for SQLite, changed UNLOCKS to JSON format, saves ply:TimeConnected() and some other cleanups.