Allow split of list using spaces.

This change checks for comma existence and if its not there splits based on spaces.  Should have identical use as previously.  It also solves the problem of giving non-comma-delimited-output to salt from other programs.