Fix the .equals() method of ExitStatus (and add a test) as currently it wasn't symmetrical, so that it was  possible for an ExitStatus to be equal to a String which isn't .equals() equal to it.