Bug 61243: Catch errors sent by the Parsoid server in roundtrip-test.js

Change-Id: I4cefe00dbe082ad7fd281d547dd3cc995d0afcde
Merge "Bug 61243: Catch errors sent by the Parsoid server in roundtrip-test.js"