Handle tranditional multipart form uploads.
In multipart upload, generically grab the first file (ignore others for now). Don't rely on it being named 'image'.
Set CORS headers to allow cross domain uploading of images.
When uploading a file, return a JSON response conforming to what jquery-file-upload expects.