MimeUtils added.
RepositoryLocator extracted from FileResourceProvider.
StringUtils: methods added to append a string to a builder if string is
not empty.