getLabelCounters: optimize SQL
ccache: disable force overriding owner_uid on real feeds (why was this needed?)
log queries is QUERY_LOG is defined
remove server-side feedtree collapse implementation
cache all db prefs on startup
db: replace QUERY_LOG with _DEBUG_QUERY_LOG