added THUMBNAIL_DEBUG option to localsettings.py.dist