Delete Pending Photos on Close
This merge request to fix issue #92 (closed) Now, gnome-photos ensures that it carry on any pending delete operation before it closes. I changed the behavior of photos_base_item_trash method to make it have a callback when the photo is deleted. I call g_application_hold before calling photos_base_item_trash. Then, I call g_application_release in callback.