prepare for Comanchification of mod_photos
Merge https://github.com/friendica/red into zpull