Ensure_resource on dnsmasq package

As dnsmasq is sometimes required by other modules,
in particular ones that are not in puppet-openstack,
this can cause duplicate declaration issues. By
using ensure_resource, we can avoid these problems
and both modules can declare the package.

Change-Id: I32f29bcac3cf67a2644b3e5eb50621f8e27b1cb1