[schema / sources] store data sources as cubicweb entities
this implies several changes:
* new CWSource / CWSourceHostConfig entity types
* only the system sources and default admin login/password stored in sources file
(other stuff will be ignored)
* on startup, get sources definition from the database
* every entities have a cw_source relation
* a facet allow filtering
function load_now(eltsel, holesel, reloadable) {
var lazydiv = jQuery(eltsel);
var hole = lazydiv.children(holesel);
if ((hole.length == 0) && ! reloadable) {
/* the hole is already filled */
return;
}
lazydiv.loadxhtml(lazydiv.attr('cubicweb:loadurl'));
}
function trigger_load(divid) {
jQuery('#lazy-' + divid).trigger('load_' + divid);
}