Add alternateQueryLimit configuration option

This new option limits the number of alternate queries created. Thus preventing the plugin from sending huge queries to Solr when there are large queries with lots of synonyms. See issue #38 for details.

I've also added dependencies to mockito in order to create unit tests for this (and updated junit version in the process).