[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
/**
* functions specific to cubicweb on google appengine
*
* :organization: Logilab
* :copyright: 2008-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
* :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
*/
/**
* .. function:: rql_for_eid(eid)
*
* overrides rql_for_eid function from htmlhelpers.hs
*/
function rql_for_eid(eid) {
return 'Any X WHERE X eid "' + eid + '"';
}