tests: use %LOGDIR to refer to the log directory This will allow it be set dynamically. Ref: #10818
configure: add --enable-headers-api to enable the headers API Defaults to disabled while labeled EXPERIMENTAL. Make all the headers API tests require 'headers-api' to run.
test1670: verify -w %header{}