add pillow requirement
adapt config for pivot
merge manage-photos.py from master
merge with master
fix gallery view
make secret key random
fix date formatting
merge manage-photos.py from master
Merge branch 'master' into production
fix typo
enable X-Sendfile to potentially speed-up static file serving
remove useless "logged in" message
merge production