Set 'image' class for all image types to display thumbnail properly.
Added option to UploadServlet to process additional multipart/form-data parameters and assign them to uploaded files. This is helpful to assign a custom type and a context (=relationship to other node) on upload, without further PUT requests.