moved the location of the 'limit' key in the query object up one level. It now accurately represents a limit for the full search query (i.e. after the 'and', 'or' operations have been applied)

part (1/2) of OOIION-1208