DRY up HTML response serialized operation creation.

Only necessary during the transition. In the end, all HTML responses will go
through HTMLReader.
Fix xctool install on Travis-CI.