Refactor PNG conversion code, fix redirect after PDF upload

Move PNG converter to a service object. This might still be changed in the future to use another gem.

Fixed incorrect redirect after PDF upload. Do not create empty question after PDF upload.