Use EditorApi in PhotoApi to add image to page

Also, make error messages on HTTP errors follow the same pattern in both
upload and edit step.

Change-Id: I4322f190f69fa9c6939038cd0005dbb9943e283d
Merge "Use EditorApi in PhotoApi to add image to page"