Improve logging of publishing failures

* Passes whole content of error to client on parsoid failure
* Adds publishing information and error to logging call

Change-Id: If56c8e12e6c1fa9b0dc162d1fb4b75d4e1e4a7f4
Merge "Improve logging of publishing failures"