SERVER-14578 introducing threshold
refactor text stage for better performance
jstest for SERVER-14578
SERVER-14578 error due to refactoring
SERVER-14578 changing threshold value
per-query stemmers
cleaning up memory leak