Work on update_db_properties.py

Includes:

 - update_photo_urls.py is obsolete for the time being

 - Remove common.with_cursor to discourage cursor reuse