Fix title encoding in roundtrip-test.js

Request to parsoid with non-ascii chars would always fail.

Change-Id: I95100b0a0e9107788448d0dced1b54c132c671c9