Support connecting to Elasticsearch protected with basic auth
Do not expose credentials through /config
Prefix username/password with elasticsearch_
Break long line
Use relative paths instead of absolute Closes #1630
elasticsearch_ prefix consistency
Merge remote-tracking branch 'upstream/master' into basic-auth
Default elasticsearch_preserve_host to true if omitted
Update get_build_props.js

Used git rev-parse HEAD to pick out and massage parameters
Use fielddata_fields instead of a script to get the long. Closes #2362
Changes tests to look at fielddataFields
fixes some spots we're still using camel case
Add maxPrecision configuration parameter. Closes #2372
Set example index pattern based on interval, select Daily by default, add warning about weekly. Closes #2364
Add init function to aggParams
Throw error instead of returning empty list
Remove init, replace with existing deserialize
Use _.parseInt
[config] let the browser compute relative paths
Merge master