Added ScriptResult.cs and tests
Merge pull request #295 from timerickson/291

#291 Added ScriptResult.cs and tests
Fixed wrong argument passed from CommandFactory to RestoreCommand. Fixes #298
Merge pull request #299 from khellang/298

Fixed wrong argument passed from CommandFactory to RestoreCommand