Add more robust Pillar support for dnsmasq

This is my first attempt at pillar-izing something. Please be harsh if necessary...

Major thanks to those working on the fail2ban-formula which has some very nifty macro action going on. Only minor changes were needed to support the config style of dnsmasq.