Merge pull request #1 from dldinternet/master

Check for valid hostname and allow groups in section names
Allow expansion of %(hostname)