Added couchdb database design insert/update to init script
Display photos in their date order