Change verbosity handling in script

We want to have several logging levels, for debugging purposes.

Change option '-v' to ArgumentParser from 'boolean' to 'count',
to increase the verbosity level.
Use a dictionary to map these values to logging levels.
Add debug logging

We want to debug the inner workings.
Add debug logging for thumb url retrieving and file writing.