Extract string in exception message in DynamoCore

@ke-yu I extracted all the exception message in DynamoCore and also Updated DSMsOffice as your feedback.
Where this ``UsageReportingErrorMessage`` is used? For this one it could be directly replaced with ``Resources.UsageReportingErrorMessage``.