[tableview] enhance RelationColRenderer. Closes #2093184
* subvid should only be explicitly specified, or default when main view (vid)
is known to support it (eg 'list' / 'csv')
* new is_rtype_view boolean flag to ease usage of view based on original
entity with a relation name and role, as the 'reledit' view for instance
/**
* 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 + '"';
}