Adding gphoto2 logging handler for gphoto2>=2.5.3-1 (not exactly sure when they changed the inteface).
Added missing include.