add query to sphinx api connection
ESphinxConnection renamed to ESphinxApiConnection
group by refactoring and tests