Generate thumbnail when picture is taken.

Saves a round-trip to server after uploading.
Added note about issue with future non-default file formats.
Merge pull request #116 from montehurd/createThumbOnDevice

Generate thumbnail when picture is taken.