resolves #53 allow safe mode to be specified as int, string or enum
reduce ABC complexity of safe mode handling
Merge pull request #54 from mojavelinux/issue-53

resolves #53 allow safe mode to be specified as int, string or enum