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

Widget enhancements: logging, fallback image, code to manage ckan issue 1394.

The widget now has two layouts: wide and default which is narrow.Also, a scroll bar was added to correctly visualize the resources.
To get the wide or banner widget you have to add the widget_type parameter in the URL with the value wide. (?widget_type=wide). 
Added Fallback image when there is no image.
Added logger for the controller.
Added code to manage ckan/ckan issue 1394.