[LOGMGR-96] Add hostname format option for the pattern formatter.

This seems like it shouldn't be done on every log message.  The host name is unlikely to change very often, and even if it changed, the props and env wouldn't change with it anyway.  Probably just move the detected host name out to a once-only constant.