Add disable_synonyms debug option

If debug=disable_synonyms is added to the query parameters, this
disables use of the synonym list by using an analyzer which doesn't
include synonyms in its list of actions.  This is useful for working out
whether synonyms are helping to fix results for particular queries, or
whether they're causing problems.

Implements https://www.pivotaltracker.com/story/show/73295610
Very good point; I've refactored all the tests in this file accordingly, and think it looks much better (and is also much less code).