Add 'type' property

I wasn't able to use the module to set the DNS resolvers on a Solaris 11 system, so I added the `type` property to the provider. I've tried it on Solaris 10 and 11, OmniOS and SmartOS with a variety of properties, and it appears to be good. The default type for property values is `astring`, which mimics the old behaviour.