Core: add max_determinized_states to query_string and regexp query/filter

This PR applies to master, and it includes another Lucene 5.0.0 snapshot upgrade.

I just plumbed the max_determinized_states through to regexp query, filter and query_string, leaving the default at Lucene's default (10000 states).

Closes #8357
Maybe:
Its possible to write regular expressions that require exponential space and time to compile.  Lucene prevents these from running away using the `max_determinized_states` parameter which defaults to 10000.  You can raise it to allow more complex regular expressions to use more ram rather than fail to compile.