Update to state.py

Update to the global unless and onlyif code to allow specifying them in the state files as strings in addition to lists.