(bug 46352) Implement EntityHandler::getUndoContent

IMPORTANT: needs I277335f57 in Diff

Change-Id: I847062524e1878cc80e8b34ea4668aca19d68d9d
Merge "(bug 46352) Implement EntityHandler::getUndoContent"