Applied $config:resource-mode and $config:collection-mode variables for
uploading resources.

References #514.
Improved the data inconsistencies report.

References #438.