resolves #289 #291 attributes as string or array

- includes tests for properly splitting on spaces
Merge pull request #292 from mojavelinux/attributes-as-str-or-arr

resolves #289 #291 attributes as string or array