Inject EntityPermissionChecker into EditEntity.

Change-Id: I4fbc047f702ace6862a2a02a047ed7534cdcb156
Merge "Inject EntityPermissionChecker into EditEntity."