thumbnailer: limit thumbnailing time to 15 seconds by default

The limit can be disabled with no-limit command line option.

Fixes bug #651655.