Add some tuning machinery

Merge hdsTune and hdsGtune into a single file that can share
variables. Read HDS_MAP and HDS_SHELL environment variables.
datMap: mmap now controlled by HDS_MAP tuning parameter