[fti] refactor and fix full text indexation handling
* moved logic from repository to the native source
* avoid creating a FTIndexOp when no full text indexation is needed
* entities with fulltext_container set are not indexed even when not
related to a container
* avoid duplicated unindexation
/*
* functions specific to cubicweb on google appengine
*
* :organization: Logilab
* :copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
* :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
*/
/* overrides rql_for_eid function from htmlhelpers.hs */
function rql_for_eid(eid) { return 'Any X WHERE X eid "' + eid + '"'; }