Changes to database structure.

-Usage of unique keys in database should make record handling a lot
easier and faster. There is a room for SQLite support.
-Fixes to worldrecords cache.