Fix spec, assert that flexmock method is called once.
Abstract details of query expansion to RailsNlp Query object.

Query object contains the stems, metaphones, keywords of the query.
This info is now displayed on the search results page.