Add script error handling for phpredis mode.
Fix bug in phpredis script arg handling. Add unit tests for scripting.