sort term block and enhanced term search speed (break if no more term
can be found)
added query details to 'queries' msgbus call
 * added simple index unit test