Implement EZP-22988: More dev friendly info on UnauthorizedException

For discussion:
  Provides object id's as it is assumed this is more safe then giving away
  things like object names. Two occurances of where name where returned is
  thus changed to use object id. Object id's are not very user friendly,
  but it provides information for end users to provide to developer /
  adminstrator for further investigation if needed.
  VersionNo is provided if this was specified in arguments.