Adds logic for detecting script failures

- HostGroupModel has script failure regex + error flag
- runScriptModel method returns true if detected an error, false otherwise