Fixed bug where draggable was being called before testing the correct component property.

NOTE: with this implementation, drag events will not be fired by the content div, only by the popup container div + arrow + close button. That's coherent with the fix introduced in commit f23a7bb4578ec1e5e492f1c2445b3a78c63c51bf.
Added widgetName input box to save settings interface, when the dashboard is a widget.
In save settings interface, changed the label of the widget name input.
fixed new map component when query is empty
Fix reading of datasources' definitions in .cdfde files.