Add mimetype icon overlay for derivative images

Conflicts:
	rooibos/storage/multimedia.py
Renamed settings_local.template.py to be able to import it in Python
Never show federated search sidebar if no sources configured
Get new database cursor for each query during migration
Always create derivative storage path