Expose tile storage type property to QML & fix tile loading from Sqlite database

Looks like the raw data blobs returned from sqlite need to be converted to strings,
otherwise QImage won't load them.
Add button row for switching between file-based and Sqlite tile storage