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
Thanks Nik, I folded in your suggestion and tweaked it some, but I think it's important to keep the opening sentence warning about regexps: they really are quite dangerous to open up to users.