make configuration directory configurable

Some packages place their configuration in a directory different from
/etc/elasticsearch. While retaining this default, we make confdir now a
variable.