Revert "Change the read method of ffmpeg from filename to buffer". This bug was only affecting the load of photos and that usage was removed.
Refactorized avdecoder class.
Disable warnings from ffmpeg.
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.