Widget enhancements: logging, fallback image, code to manage ckan issue 1394.

Added Fallback image when there is no image.
Added logger for the controller.
Added code to manage ckan/ckan issue 1394.