Added git.command.success and git.command.error events, added __toString() magic method for the working copy.