Fix jpeg file filtering

Change `util/bundler.py` jpeg filename matching to use mimetypes package
instead of filename globbing.

Sadly, this causes some ugliness as `src/ImageData.cpp` does not handle jpeg
images unless their extension is lowercase '.jpg'. As hack around this we make
sure that all jpegs have extension which is accepted by bundler binary.