Update to the global unless and onlyif code to allow specifying them in the state files as strings in addition to lists.
Merge pull request #13114 from garethgreenaway/strings_for_global_onlyif_and_unless

Update to state.py