Configurable query string options

Allows the user to configure the options from http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html for any Lucene query string entered via a form that uses the validate_query directive

Also abstracts out the rows of the advanced config editor.

Closes #2418
nickpick: config is no longer used