[dashboard.js] add getWidgets external api, add clearWidgets external api, add event emit when widget is removed, [widgetModel.js] add id field to widget
make jshint happy
build diet