Cleaned up EventUtils.toString() method.
Fixed stack trace in bug NMS-6280 by throwing FileNotFoundException when
the label of the resource cannot be calculated. Cleaned up label calculation
code inside CollectionResourceWrapper.