Update RestHelpers with Mac compatibility

- Add `ExecuteInShell`
- Add error for `ParseXML`
- Add perl implementation for `UrlParts` and update return values
- Update Crypto with openssl scripts for Mac
- Handle errors in specs