Fixing broken thumbnailgeneration and cleanup of the proxy code
Still doesnt work with the supplied PIL but work if you remove the PIL from /libs/.
Changed packaged PIL to the one from the Ubuntu package.
Merge pull request #17 from mbw2001/master

Imageproxy code improvements and cleanup