New base for the database backend.
Merge branch 'testing' into feature-database

Conflicts:
	src/avdecoder.cpp
	src/avdecoder.h
Merge duplicated code from Database, CMAObject and SQListDB to utils.
Fix savedata metadata processing.
Insert metadata from games/apps into the database.
Merge branch 'testing' into feature-database
Renamed database class to qlistdb in preparation to create generic database class.
Create a unified base class to access the database.
Moved the default database class to QListDB and disallow leaking CMAObjects outside this class.
Rewrote QListDB and CMAEvent to use the new internal API.
Moved the file format constants to the base database class.
Moved the metadata loading methods to the base database class.
Modify removeRecursively to be able to delete a file.
Added getParentId func.
Add the datatype for newly inserted items.
Pass a double pointer instead of a pointer reference so the metadata_t can be optional.
Make sure to delete the files after deleting an entry in the backup manager.
Pass database object to others using their constructors.
Prepare SQLiteDB class functions so it can be instantiated.
Enable SQLiteDB backend.
Multiple fixed and finished the implementation of the SQLite backend.
Try to load the database before trying to attempt a rescan.
Delete the metadala list for backends that allocate them on demand.
Moved some generic functions to the databse class.
Renamed utils header to avoid rare QtCreator bug.
Create virtual node table to store category nodes (doesn't exist on the filesystem but need an OHFI).
Enable triggers, disable sync mode and other tweaks so the creation of the database can be faster.
Abort early if a database entry cannot be added.
Fix games and savedatas not being saved with their correct parent id.
Preparing getRootItems to return virtual categories.
Code refactoring.
Added functions to create virtual entries on the database.
Disabled sqlite setting in config dialog.
New qcma headless app.
Updated changelog.
Bumped version to 0.3.0.
Updated readme
Moved TRANSLATIONS to main pro file so lrelease can find them.
Fix compilation of sqlite backend under Qt4.
Fix .pro file.
Add entry in debian rules to headless package.
Update httpdownloader class.
Fix missing headers under Qt4.
Readd QImage includes.
Do not remove gui lib for headless binary as it needs it to use Qimage.
Rename headless package to qcma-cli.
Updated readme and changelog.
Add debian install rules.