Added missing iostream include
Adding the beginnings of SQLite support. Currently does not compile.
Fixed compilation, config options.
Fixed database initialisation.
Started work on properties. Currently segfaults after upgrading or initialising the database, though.
Added conditionals for when sqlite is available