This commit is a follow-up of "switch to using stestr"
which was merged already .
After switch to using stestr, testrepository and .testr.conf
are unnecessary and should be removed.
Complex query computes the single complex query to multiple simple
queries which only use AND operator, each simple query will invoke
get_samples() method. Complex query collects all the results till
limit constraint is satisfied.