Handle parameter being string

When enablerepo => ['foo'], in the provider class @resource[:enablerepo] is a string rather than an array. I updated the tests to reflect that, and updated the provider to convert it to an array.