Improvments based on suggestions by Hoo man
Improvments based on suggestions by Hoo man

Includes:
* type hinting
* throw exceptions
* better parameter documentation
* camelCasing a few variables
* removing unused variables
* testing read/writeability of dirs
* glob instead of scandir
* intermediate vars
* move i18n loops to separate functions

Also:
* skip missing dump files

Wikimedia-Sverige/DCAT,wikimedia/operations-dumps-dcat,wikimedia/operations-dumps-dcat,lokal-profil/DCAT