Use JPEG for client posting instead of PNG.

This leaves the glitch -> PNG step intact, so ffmpeg is still dealing
with PNGs. This also fixes a number of bugs in the media conversion
process, and removes unnecessary setImmediate calls.
Merge pull request #12 from tec27/jpegify

Use JPEG for client posting instead of PNG.