Added CmmlToken statistics methods
Added simple query_engine test
Fixed query_engine simple test
Fixed qvar unification. Added tests.