Puppet 3.4+ multiple package syntax

Puppet's parser changed in 3.4 to no longer support multiple
packages specified as an array to the name parameter. This patch
moves the array specification for dnsmasq to the resource
identifier, and then handles the dependency relationship with
a collection. Tested on CentOS 6.5